|
...
|
...
|
@@ -89,6 +89,7 @@ Page({ |
|
|
|
duration: 1000,
|
|
|
|
icon:'none',
|
|
|
|
success: function () {
|
|
|
|
console.log('支付失败',that.data.opt.types);
|
|
|
|
let url='';
|
|
|
|
if(that.data.opt.types=='1'){
|
|
|
|
url='/pages/customer/detail_owner_invitation_new?id='+that.data.opt.detail.oid;
|
|
...
|
...
|
@@ -140,9 +141,20 @@ Page({ |
|
|
|
duration: 1000,
|
|
|
|
icon:'none',
|
|
|
|
success: function () {
|
|
|
|
console.log('支付失败',that.data.opt.types);
|
|
|
|
let url='';
|
|
|
|
if(that.data.opt.types=='1'){
|
|
|
|
url='/pages/customer/detail_owner_invitation_new?id='+that.data.opt.detail.oid;
|
|
|
|
}
|
|
|
|
if(that.data.opt.types=='2'){
|
|
|
|
url='/pack-cookbook/pages/success_new';
|
|
|
|
}
|
|
|
|
if(that.data.opt.types=='3'){
|
|
|
|
url='/pages/reserve/index';
|
|
|
|
}
|
|
|
|
setTimeout(function () {
|
|
|
|
wx.reLaunch({
|
|
|
|
url: `/pages/customer/detail_owner_invitation_new?id=${that.data.opt.detail.oid}&hasInvitation=1&hasSellerShare=1&tplid=1`
|
|
|
|
url
|
|
|
|
})
|
|
|
|
}, 1000);
|
|
|
|
}
|
...
|
...
|
|