wx 篮球场馆增加实时收付

This commit is contained in:
2023-12-31 02:20:32 +08:00
parent e504efbde6
commit 22c1f3e963
5 changed files with 306 additions and 155 deletions

View File

@@ -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 => {