diff --git a/pages/getuserinfo/index.js b/pages/getuserinfo/index.js index f6943e2..2eb1a64 100755 --- a/pages/getuserinfo/index.js +++ b/pages/getuserinfo/index.js @@ -78,6 +78,7 @@ Page({ .then( function (res) { console.log(res, that.data,6666666666) + // console.log(options && options.id && app.globalData.type == 'td',55555) 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=${that.data.optionData.avatarUrl}&nickName=${that.data.optionData.nickName}` @@ -186,12 +187,22 @@ Page({ wx.redirectTo({ url: '/pages/discountCardList/discountCardList' }); - } else if (options && options.id && app.globalData.type == 'td') { + } else if (app.globalData.type == 'td') { // 专题活动页 wx.redirectTo({ url: '/pages/topicDetail/index' }); - } else if (app.globalData.type == 'ml') { + } + /** + * options有问题 + */ + // else if (options && options.id && app.globalData.type == 'td') { + // // 专题活动页 + // wx.redirectTo({ + // url: '/pages/topicDetail/index' + // }); + // } + else if (app.globalData.type == 'ml') { // 门店 wx.redirectTo({ url: '/pages/index/searchbar/index'