From cbcb7ab2bb73b52be9cce579857c12089c67a311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Thu, 21 Mar 2019 11:22:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E8=B7=B3=E8=BD=AC=E6=8B=BC?= =?UTF-8?q?=E5=9B=A2=E5=88=B8=E8=AF=A6=E6=83=85=E5=88=A4=E6=96=AD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index c29241f..38eff94 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -52,18 +52,6 @@ Page({ if (options.couponChannelId || options.orderId) { console.log(options,33333333333) that.userLogin(options); - // if (options.cuserId){ - // /** - // * 转赠判断 - // */ - // // that.userLogin(options.couponChannelId, null, options.cuserId, options.coverImg, options.userName, options.avatarUrl, options.couponOrderId, options.updateDate); - // that.userLogin(options.couponChannelId, null, options.cuserId, options.coverImg, options.userName, options.avatarUrl, options.couponOrderId, options.updateDate); - // } else if (options.orderGroupId){ - // // 来自于拼团 - // that.userLogin(options.couponChannelId, null, options.orderGroupId); - // }else{ - // that.userLogin(options.couponChannelId, options.orderId); - // } } else { that.userLogin() } @@ -91,15 +79,15 @@ Page({ Http.get({ url: config.api.couponDetail, data: { - couponChannelId: couponChannelId + couponChannelId: options.couponChannelId } }).then(res => { let data = res.data; wx.redirectTo({ url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${options.couponChannelId}&couponId=${data.couponId}` }) - return; }); + return; } if (options&&options.couponChannelId && !options.cuserId) { wx.redirectTo({