修改iOS H5支付

This commit is contained in:
2024-12-14 10:30:16 +08:00
parent e822e614b8
commit 4b9d78ec5a
5 changed files with 62 additions and 10 deletions

View File

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