|
|
@ -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, |
|
|
|