chore: 更新注释.
This commit is contained in:
parent
fa3fb0787b
commit
e83aa446c7
2
index.js
2
index.js
@ -30,6 +30,7 @@ export default class Alipay {
|
|||||||
/**
|
/**
|
||||||
* 设置支付宝跳转Scheme,仅 iOS
|
* 设置支付宝跳转Scheme,仅 iOS
|
||||||
* @param scheme
|
* @param scheme
|
||||||
|
* @platform ios
|
||||||
*/
|
*/
|
||||||
static setAlipayScheme(scheme) {
|
static setAlipayScheme(scheme) {
|
||||||
if (Platform.OS === 'ios') {
|
if (Platform.OS === 'ios') {
|
||||||
@ -40,6 +41,7 @@ export default class Alipay {
|
|||||||
/**
|
/**
|
||||||
* 设置支付宝沙箱环境,仅 Android
|
* 设置支付宝沙箱环境,仅 Android
|
||||||
* @param isSandBox
|
* @param isSandBox
|
||||||
|
* @platform android
|
||||||
*/
|
*/
|
||||||
static setAlipaySandbox(isSandBox) {
|
static setAlipaySandbox(isSandBox) {
|
||||||
if (Platform.OS === 'android') {
|
if (Platform.OS === 'android') {
|
||||||
|
Loading…
Reference in New Issue
Block a user