From fa0f4d905195813a79fa7bba2b4e5f7ff4446581 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Wed, 22 May 2019 14:11:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5][=E4=BF=AE=E6=94=B9]:[?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=95=B4=E7=90=86]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 11 ++++++----- pages/main/index.js | 3 --- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index abf5426..9001909 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -74,13 +74,14 @@ Page({ onShow(){ let that = this; that.userLogin(); + console.log("onshow-----------------------------------login") }, checkuserstatus(options) { - let that = this; - Http.get({ - url: config.api.checkUserStatus, - data: {} - }) + let that = this; + Http.get({ + url: config.api.checkUserStatus, + data: {} + }) .then(res => { //参与拼团 if (options && options.orderGroupId) { diff --git a/pages/main/index.js b/pages/main/index.js index 56f3377..f1cc507 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -315,9 +315,7 @@ Page({ */ userLogin: function(couponChannelId, couponId, orderId) { var that = this; - // 登录 that.getmemberId(app.globalData.token); - // that.checkUserCarStatus(); that.getUserInfo(); that.getBannerlist(); that.topicShow(); @@ -600,7 +598,6 @@ Page({ return { title: this.data.weappShareTitle, imageUrl: this.data.weappShareCoverImg, - // desc: this.data.desc, success: function(res) { wx.showToast({ title: "分享成功",