Browse Source

no message

feature/v1.1.0
xpz2018 7 years ago
parent
commit
ddd075fdcc
2 changed files with 0 additions and 5 deletions
  1. 1
      pages/index/index.js
  2. 4
      pages/mcenter/mcenter.js

1
pages/index/index.js

@ -84,7 +84,6 @@ Page({
getActivityList: function(){ getActivityList: function(){
let that = this; let that = this;
wx.showNavigationBarLoading() //在标题栏中显示加载 wx.showNavigationBarLoading() //在标题栏中显示加载
console.log('addrIndex:' + that.data.addrIndex)
wx.request({ wx.request({
url: app.gw.hostUrl + '/mall/wxa/activity/list', url: app.gw.hostUrl + '/mall/wxa/activity/list',
method: 'get', method: 'get',

4
pages/mcenter/mcenter.js

@ -44,8 +44,6 @@ Page({
}) })
}, },
onLoad: function () { onLoad: function () {
console.log(wx.getStorageSync('sessionId'));
console.log(app.globalData.sessionId);
this.setData({ this.setData({
sessionId: wx.getStorageSync('sessionId') sessionId: wx.getStorageSync('sessionId')
}) })
@ -74,7 +72,6 @@ Page({
that.setData({ that.setData({
items2: res.data.response items2: res.data.response
}) })
console.log(res.data.response)
}, },
fail: function (res) { fail: function (res) {
wx.showToast({ wx.showToast({
@ -113,7 +110,6 @@ Page({
} }
}, },
getUserInfo: function (e) { getUserInfo: function (e) {
console.log(e)
app.globalData.userInfo = e.detail.userInfo app.globalData.userInfo = e.detail.userInfo
this.setData({ this.setData({
userInfo: e.detail.userInfo, userInfo: e.detail.userInfo,

Loading…
Cancel
Save