修改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

@@ -573,9 +573,14 @@
} else if (this.openWay == 1) {
console.log(this.orderId)
let paytype='h5'
// #ifdef APP
paytype='app'
// #endif
console.log('paypop payType='+paytype);
// APP支付宝支付
// #ifdef APP
this.$Request.getT("/app/wuyou/payOrder/"+this.orderId, {}).then(ret => {
this.$Request.getT("/app/wuyou/payOrder/"+ this.orderId+'?payType='+paytype,{}).then(ret => {
console.log(ret)
// this.isCheckPay(ret.code, 'alipay', ret.data);
that.$emit('paySuccess', ret.data)
@@ -585,7 +590,7 @@
let data = {
orderId: this.orderId,
}
this.$Request.getT("/app/wuyou/payOrder/"+this.orderId, {}).then(
this.$Request.getT("/app/wuyou/payOrder/"+ this.orderId+'?payType='+paytype, {}).then(
res => {
if (res.code === 0) {
console.log(res)