| @@ -60,6 +60,14 @@ Page({ | |||||
| }).then( | }).then( | ||||
| function (res) { | function (res) { | ||||
| app.globalData.phone = res.data.phone; | app.globalData.phone = res.data.phone; | ||||
| /** | |||||
| * 来自积分兑换 | |||||
| */ | |||||
| if (that.data.path == 'jifen') { | |||||
| wx.redirectTo({ | |||||
| url: `/pages/joinFrDpell/index?couponChannelId=${that.data.paramData.couponChannelId}` | |||||
| }) | |||||
| } | |||||
| /** | /** | ||||
| * 来自拼团详情 | * 来自拼团详情 | ||||
| */ | */ | ||||
| @@ -150,13 +150,13 @@ Page({ | |||||
| */ | */ | ||||
| wx.redirectTo({ | wx.redirectTo({ | ||||
| url: "/pages/getphoneInfo/index?couponChannelId=" + | url: "/pages/getphoneInfo/index?couponChannelId=" + | ||||
| that.data.paramData.couponChannelId | |||||
| that.data.paramData.couponChannelId +"&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 | |||||
| that.data.paramData.couponChannelId + "&path=jifen" | |||||
| }); | }); | ||||
| } else { | } else { | ||||
| wx.showToast({ | wx.showToast({ | ||||
| @@ -45,6 +45,14 @@ Page({ | |||||
| } | } | ||||
| }) | }) | ||||
| .then(res => { | .then(res => { | ||||
| /** | |||||
| * 来自积分兑换 | |||||
| */ | |||||
| if (that.data.path == 'jifen') { | |||||
| wx.redirectTo({ | |||||
| url: `/pages/joinFrDpell/index?couponChannelId=${that.data.paramData.couponChannelId}` | |||||
| }) | |||||
| } | |||||
| /** | /** | ||||
| * 来自拼团详情 | * 来自拼团详情 | ||||
| */ | */ | ||||
| @@ -8,9 +8,9 @@ let creditType=[ | |||||
| { name: "完善个人信息", value: "7" }, | { name: "完善个人信息", value: "7" }, | ||||
| { name: "积分导入", value: "8" }, | { name: "积分导入", value: "8" }, | ||||
| { name: "消费积分", value: "9" }, | { name: "消费积分", value: "9" }, | ||||
| { name: "消费积分", value: "10" }, | |||||
| { name: "新增积分", value: "10" }, | |||||
| { name: "积分兑换", value: "11" }, | { name: "积分兑换", value: "11" }, | ||||
| { name: "线下积分扣除", value: "12" }, | |||||
| { name: "消费积分", value: "12" }, | |||||
| ] | ] | ||||
| module.exports = { | module.exports = { | ||||
| creditType | creditType | ||||