修改iOS H5支付
This commit is contained in:
@@ -691,8 +691,12 @@
|
||||
this.isCheckPay(ret.code, 'wxpay', JSON.stringify(ret.data));
|
||||
});
|
||||
} else if (this.openWay == 1) {
|
||||
let paytype='h5'
|
||||
// #ifdef APP
|
||||
paytype='app'
|
||||
// #endif
|
||||
// APP支付宝支付
|
||||
httpsRequest.getT("/app/wuyou/payOrder/"+this.ordersId, {}).then(ret => {
|
||||
httpsRequest.getT("/app/wuyou/payOrder/"+ this.ordersId+'?payType='+paytype, {}).then(ret => {
|
||||
plus.runtime.openURL(ret.data.h5Url)
|
||||
// this.isCheckPay(ret.code, 'wxpay', JSON.stringify(ret.data));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user