Commit 59b62efdda5b7298d5df89cbd0155700b0cab078

Authored by pengye
1 parent 8b5ee3a9

商家端分享充值,充值后跳转路径问题修改

... ... @@ -154,7 +154,7 @@ Page({
}
})
},
// 支付失败回调 types 1邀请函 2提前点餐 3商家端app分享
// 支付成功/失败回调 types 1邀请函 2提前点餐 3商家端app分享
callbackFun() {
let that = this;
let url = '/pages/customer/detail_owner_invitation1?id=' + that.data.opt.detail.oid;
... ... @@ -192,17 +192,7 @@ Page({
console.log('充值完成跳转', this.data.opt.detail.oid);
console.log('StyleType',this.data.StyleType);
this.closeModal()
let arr = [9, 10, 11, 12, 13, 14, 15, 16, 17];
let style =arr.includes(parseInt(this.data.StyleType))
let url = '';
if (!style) {
url = `/pages/customer/detail_owner_invitation${this.data.StyleType}?id=${this.data.opt.detail.oid}&hasInvitation=1&hasSellerShare=1&tplid=1`;
} else {
url = `/pages/customer/detail_owner_invitation9?id=${this.data.opt.detail.oid}&hasInvitation=1&hasSellerShare=1&tplid=1`;
}
wx.reLaunch({
url
})
this.callbackFun()
},
// 绑定名称
bindKeyNameInput(event) {
... ...