修改iOS H5支付
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user