wx 篮球场馆增加实时收付
This commit is contained in:
@@ -110,15 +110,17 @@ Page({
|
||||
rechargeId: this.data.recharges[this.data.selectIndex].id
|
||||
}).then(res => {
|
||||
app.$pay.wxPay(res.pay).then(res => {
|
||||
if (this.data.options.isPass == 1) {
|
||||
wx.redirectTo({
|
||||
url: '/pages/facialCapturing/index?isPass=' + 1,
|
||||
})
|
||||
} else {
|
||||
// if (this.data.options.isPass == 1) {
|
||||
// wx.redirectTo({
|
||||
// url: '/pages/facialCapturing/index?isPass=' + 1,
|
||||
// })
|
||||
// } else {
|
||||
console.log('支付成功了')
|
||||
this.getData();
|
||||
this.data.isUnClick = false;
|
||||
}
|
||||
// }
|
||||
}, err => {
|
||||
console.log(err)
|
||||
this.data.isUnClick = false;
|
||||
})
|
||||
}, err => {
|
||||
|
||||
Reference in New Issue
Block a user