From 9ab5577815f6c5fab05f0fd3196282a077cc35e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Wed, 13 Mar 2019 17:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=88=E6=9D=83=E8=B7=B3=E8=BD=AC=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/getphoneInfo/index.js | 3 ++- pages/getuserinfo/index.js | 3 ++- pages/joinFrDpell/index.js | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) 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({