| @@ -65,7 +65,7 @@ Page({ | |||||
| */ | */ | ||||
| if (that.data.path == 'jifen') { | if (that.data.path == 'jifen') { | ||||
| wx.redirectTo({ | wx.redirectTo({ | ||||
| url: `/pages/integralmall/payIntegcoupondetail/index?couponChannelId=${that.data.paramData.couponChannelId}` | |||||
| url: `/pages/integralmall/payIntegcoupondetail/index?couponChannelId=${that.data.paramData.couponChannelId}&couponId=${that.data.paramData.couponId}` | |||||
| }) | }) | ||||
| return; | return; | ||||
| } | } | ||||
| @@ -158,13 +158,13 @@ Page({ | |||||
| */ | */ | ||||
| wx.redirectTo({ | wx.redirectTo({ | ||||
| url: "/pages/getphoneInfo/index?couponChannelId=" + | url: "/pages/getphoneInfo/index?couponChannelId=" + | ||||
| that.data.paramData.couponChannelId +"&path=jifen" | |||||
| that.data.paramData.couponChannelId + "&couponId=" + that.data.paramData.couponId +"&path=jifen" | |||||
| }); | }); | ||||
| } else if (err.code == 11006) { | } else if (err.code == 11006) { | ||||
| // 用户手机已加密 | // 用户手机已加密 | ||||
| wx.redirectTo({ | wx.redirectTo({ | ||||
| url: "/pages/phoneinput/phoneinput?couponChannelId=" + | url: "/pages/phoneinput/phoneinput?couponChannelId=" + | ||||
| that.data.paramData.couponChannelId + "&path=jifen" | |||||
| that.data.paramData.couponChannelId + "&couponId=" + that.data.paramData.couponId + "&path=jifen" | |||||
| }); | }); | ||||
| } else { | } else { | ||||
| wx.showToast({ | wx.showToast({ | ||||
| @@ -50,7 +50,7 @@ Page({ | |||||
| */ | */ | ||||
| if (that.data.path == 'jifen') { | if (that.data.path == 'jifen') { | ||||
| wx.redirectTo({ | wx.redirectTo({ | ||||
| url: `/pages/integralmall/payIntegcoupondetail/index?couponChannelId=${that.data.paramData.couponChannelId}` | |||||
| url: `/pages/integralmall/payIntegcoupondetail/index?couponChannelId=${that.data.paramData.couponChannelId}&couponId=${that.data.paramData.couponId}` | |||||
| }) | }) | ||||
| return; | return; | ||||
| } | } | ||||