1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

fix: Fix wrong parameter name.

This commit is contained in:
jaywcjlove 2020-07-09 18:56:50 +08:00
parent 742e40d922
commit 0d174dcda0

View File

@ -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);
} }