修改iOS H5支付
This commit is contained in:
@@ -528,7 +528,19 @@
|
||||
this.getMyLoveStatus()
|
||||
this.getMoneyList()
|
||||
this.getMyMoney()
|
||||
}else{
|
||||
if(e.allId){
|
||||
const arr=e.allId.split('-')
|
||||
this.courseId = arr[0];
|
||||
if (arr[1] && arr[1] != 'null') {
|
||||
this.courseDetailsId = arr[1]
|
||||
}
|
||||
this.getMyLoveStatus()
|
||||
this.getMoneyList()
|
||||
this.getMyMoney()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
@@ -755,8 +767,13 @@
|
||||
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 => {
|
||||
console.log('nvue payType='+paytype);
|
||||
httpsRequest.getT("/app/wuyou/payOrder/" + this.ordersId+'?payType='+paytype, {}).then(ret => {
|
||||
// plus.runtime.openURL(ret.data.h5Url)
|
||||
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user