|
@@ -22,6 +22,7 @@ Page({
|
22
|
22
|
},
|
23
|
23
|
initApplication () {
|
24
|
24
|
var that = this, token = wx.getStorageSync('user').token, list = [];
|
|
25
|
+ console.log(token);
|
25
|
26
|
that.setData({hidden: false});
|
26
|
27
|
if (that.data.page) {
|
27
|
28
|
list = that.data.dataList
|
|
@@ -31,7 +32,7 @@ Page({
|
31
|
32
|
wx.request({
|
32
|
33
|
url: app.globalData.HOST + '/user/wx/myapply',
|
33
|
34
|
method: "POST",
|
34
|
|
- data: Object.assign({}, app.globalData.common, {pageId: ++that.data.page}),
|
|
35
|
+ data: Object.assign({}, app.globalData.common, {token: token, pageId: ++that.data.page}),
|
35
|
36
|
success: function (res) {
|
36
|
37
|
var data = res.data;
|
37
|
38
|
// console.log(data);
|