diff --git a/pages/getphoneInfo/index.js b/pages/getphoneInfo/index.js index 55b49ee..8c273cc 100755 --- a/pages/getphoneInfo/index.js +++ b/pages/getphoneInfo/index.js @@ -104,7 +104,7 @@ Page({ url: "/pages/game/index?url=" + that.data.paramData.url + "&id=" + that.data.paramData.id + "&gameId=" + that.data.paramData.gameId, }) } else if (that.data.path == 'index' && that.data.paramData.cuserId) { - wx.reLaunch({ + wx.redirectTo({ url: "/pages/coupon/detail/index?cuserId=" + that.data.paramData.cuserId + '&couponChannelId=' + that.data.paramData.couponChannelId + '&coverImg=' + that.data.paramData.coverImg + '&avatarUrl=' + that.data.paramData.avatarUrl + '&userName=' + that.data.paramData.userName + '&couponOrderId=' + that.data.paramData.couponOrderId + "&updateDate=" + that.data.paramData.updateDate }) } diff --git a/pages/getuserinfo/index.js b/pages/getuserinfo/index.js index 448d1ab..c008c81 100755 --- a/pages/getuserinfo/index.js +++ b/pages/getuserinfo/index.js @@ -272,7 +272,7 @@ Page({ url: '/index/searchbar' }); } else if (that.data.fromflag == 'coupondetail' && that.data.couponChannelIdflag){ - wx.navigateTo({ + wx.redirectTo({ url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelIdflag}` }); } else if (that.data.fromflag == 'spellcoupondetail' && that.data.couponChannelIdflag) {