diff --git a/pages/getphoneInfo/index.js b/pages/getphoneInfo/index.js index d4881f0..fe88464 100755 --- a/pages/getphoneInfo/index.js +++ b/pages/getphoneInfo/index.js @@ -71,9 +71,10 @@ Page({ }) }else{ wx.redirectTo({ - url: `pages/spellGroup/mySpellGroup/index?couponId=${that.data.paramData.couponId}&couponChannelId=${that.data.paramData.couponChannelId}` + url: `/pages/spellGroup/mySpellGroup/index?couponId=${that.data.paramData.couponId}&couponChannelId=${that.data.paramData.couponChannelId}` }) } + return; } /** * fromId若存在来自卡转赠 diff --git a/pages/getuserinfo/index.js b/pages/getuserinfo/index.js index 3b6a990..bda8a3e 100755 --- a/pages/getuserinfo/index.js +++ b/pages/getuserinfo/index.js @@ -80,8 +80,9 @@ Page({ console.log(res, that.data,6666666666) if (that.data.optionData.orderGroupId){ wx.reLaunch({ - url: `/pages/joinFrDpell/index?couponId=${that.data.optionData.couponId}&orderGroupId=${that.data.optionData.orderGroupId}&couponChannelId=${that.data.optionData.couponChannelId}&orderId=${that.data.optionData.orderId}&avatarUrl=${options.avatarUrl}&nickName=${options.nickName}` + url: `/pages/joinFrDpell/index?couponId=${that.data.optionData.couponId}&orderGroupId=${that.data.optionData.orderGroupId}&couponChannelId=${that.data.optionData.couponChannelId}&orderId=${that.data.optionData.orderId}&avatarUrl=${that.data.optionData.avatarUrl}&nickName=${that.data.optionData.nickName}` }); + return; } if (that.data.path == 'index') { wx.reLaunch({ diff --git a/pages/joinFrDpell/index.js b/pages/joinFrDpell/index.js index 67f81ac..0cc4c58 100644 --- a/pages/joinFrDpell/index.js +++ b/pages/joinFrDpell/index.js @@ -351,13 +351,13 @@ Page({ */ wx.redirectTo({ url: "/pages/getphoneInfo/index?path=spell&couponChannelId=" + - that.data.couponChannelId + '&couponId=' + that.data.couponId + that.data.couponChannelId + '&couponId=' + that.data.couponId + '&orderId=' + that.data.orderId + '&avatarUrl=' + that.data.avatarUrl + '&nickName=' + that.data.nickName }); } else if (err.code == 11006) { // 用户手机已加密 wx.redirectTo({ url: "/pages/phoneinput/phoneinput?path=spell&couponChannelId=" + - that.data.couponChannelId + '&couponId=' + that.data.couponId + that.data.couponChannelId + '&couponId=' + that.data.couponId + '&orderId=' + that.data.orderId + '&avatarUrl=' + that.data.avatarUrl + '&nickName=' + that.data.nickName }); } else { wx.showToast({