|
|
@ -8,8 +8,10 @@ App({ |
|
|
|
this.jsonModel = jsonApi.JsonApiDataStoreModel |
|
|
|
this.jsonModel = jsonApi.JsonApiDataStoreModel |
|
|
|
this.globalData.code = wx.getStorageSync('code') |
|
|
|
this.globalData.code = wx.getStorageSync('code') |
|
|
|
|
|
|
|
|
|
|
|
this.getUserInfo(function(res) { |
|
|
|
this.getUserInfo(function() { |
|
|
|
that.globalData.wechatUserType = res.data.wechat_user_type |
|
|
|
profileUtil.postEncryptedData(function(res){ |
|
|
|
|
|
|
|
that.globalData.wechatUserType = res.data.wechat_user_type |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.request({ |
|
|
|
this.request({ |
|
|
|
url: `${that.globalData.API_URL}/manage_features`, |
|
|
|
url: `${that.globalData.API_URL}/manage_features`, |
|
|
|