From f7441a6d304bfdece094036a443dedd422d89cb4 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 17 Oct 2019 20:46:22 +0800 Subject: [PATCH] no message --- app.js | 3 +-- pages/index/index.js | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app.js b/app.js index fefa67d..3b02200 100644 --- a/app.js +++ b/app.js @@ -58,7 +58,7 @@ App({ // 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框 wx.getUserInfo({ success: res => { - console.log("userInfo" + res.userInfo) + console.log(res.userInfo) // 可以将 res 发送给后台解码出 unionId that.globalData.userInfo = res.userInfo; // this.onLoginUser(); @@ -109,7 +109,6 @@ App({ } that.globalData.sessionId= data.response.sessionId; wx.setStorageSync('sessionId', data.response.sessionId); - console.log('sessionId : ' + data.response.sessionId); }, fail: function (e) { wx.showToast({ diff --git a/pages/index/index.js b/pages/index/index.js index 3bba737..e0c26f6 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -120,7 +120,6 @@ Page({ getActivityList: function() { let that = this; wx.showNavigationBarLoading() //在标题栏中显示加载 - console.log("districtName:" + that.districtName); wx.request({ url: app.gw.hostUrl + '/mall/wxa/activity/list', method: 'get', @@ -135,7 +134,6 @@ Page({ success: function(res) { var data = res.data; var status = data.code; - console.log(res); var activitylistTem = that.data.activityList; if (status == 0) { if (that.data.pageNum == 1) {