Browse Source

[拼团券][修改]:[扫码进入拼团页面路径的修改]

tags/江西版6.1.02
meo 6 years ago
parent
commit
35c1693b98
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      pages/getuserinfo/index.js
  2. +3
    -1
      pages/index/index.js

+ 1
- 1
pages/getuserinfo/index.js View File

@@ -109,7 +109,7 @@ Page({
wx.navigateTo({
url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}`
});
} else if (that.data.couponChannelId && that.data.cuserId && !that.data.spellGroup) {
} else if (that.data.couponChannelId && that.data.cuserId && !that.data.spellGroup && app.globalData.type != 'sd') {
// 来自转赠
wx.reLaunch({
url: `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelId}&cuserId=${that.data.cuserId}&coverImg=${that.data.coverImg}&userName=${that.data.userName}&avatarUrl=${that.data.avatarUrl}&couponOrderId=${that.data.couponOrderId}&updateDate=${that.data.updateDate}`


+ 3
- 1
pages/index/index.js View File

@@ -13,6 +13,7 @@ Page({
*/
onLoad: function(options) {
let that = this;
console.log(options)
wx.showToast({
title: '加载中',
icon: "loading",
@@ -134,7 +135,8 @@ Page({
url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${options.couponChannelId}&couponId=${data.couponId}`
})
})
} else if (options && options.couponChannelId && !options.spellGroup) {
} else if (options && options.couponChannelId && !options.spellGroup && app.globalData.type != 'sd') {
// 转赠判断
if (options.cuserId) {
wx.redirectTo({


Loading…
Cancel
Save