fix: Fix wrong parameter name.
This commit is contained in:
parent
742e40d922
commit
0d174dcda0
4
index.js
4
index.js
@ -8,7 +8,7 @@ export default class Alipay {
|
|||||||
* @param callback 支付宝回调结果 详情见 https://docs.open.alipay.com/204/105301
|
* @param callback 支付宝回调结果 详情见 https://docs.open.alipay.com/204/105301
|
||||||
*/
|
*/
|
||||||
static alipay(orderInfo, callback) {
|
static alipay(orderInfo, callback) {
|
||||||
NativeModules.Alipay.alipay(orderInfo, callback)
|
NativeModules.Alipay.alipay(orderInfo, callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -25,7 +25,7 @@ export default class Alipay {
|
|||||||
* 设置支付宝沙箱环境,仅 Android
|
* 设置支付宝沙箱环境,仅 Android
|
||||||
* @param isSandBox
|
* @param isSandBox
|
||||||
*/
|
*/
|
||||||
static setAlipaySandbox(isSandbox) {
|
static setAlipaySandbox(isSandBox) {
|
||||||
if (Platform.OS === 'android') {
|
if (Platform.OS === 'android') {
|
||||||
NativeModules.Alipay.setAlipaySandbox(isSandBox);
|
NativeModules.Alipay.setAlipaySandbox(isSandBox);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user