Browse Source

更新 appid

master
lqq 6 years ago
parent
commit
bb458ace61
  1. 3
      pages/billboards/policy/policy-list/index.js
  2. 2
      pages/home/index.wxml
  3. 2
      project.config.json
  4. 2
      utils/http.js

3
pages/billboards/policy/policy-list/index.js

@ -47,6 +47,9 @@ Page({
nodes: res.data.content || '' nodes: res.data.content || ''
}) })
} else { } else {
this.setData({
nodes: ''
})
wx.showToast({ wx.showToast({
title: res.message, title: res.message,
icon: 'none' icon: 'none'

2
pages/home/index.wxml

@ -11,5 +11,5 @@
showTop="{{item.showTop}}" showTop="{{item.showTop}}"
bind:clickListItem="clickListItem"/> bind:clickListItem="clickListItem"/>
</block> </block>
<e-empty loading="{{loading}}" empty="{{list.length == 0}}"/> <e-empty loading="{{loading}}"/>
</view> </view>

2
project.config.json

@ -24,7 +24,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.1", "libVersion": "2.8.1",
"appid": "wx3bcb2b4ced1544f7", "appid": "wx8f4ebf5537cf4962",
"projectname": "fqsb_wx", "projectname": "fqsb_wx",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []

2
utils/http.js

@ -95,8 +95,6 @@ class HTTP {
const { token, userInfo } = data.result const { token, userInfo } = data.result
store.saveToken(token) store.saveToken(token)
store.saveUserInfo(userInfo) store.saveUserInfo(userInfo)
// wx.setStorageSync(HTTPConst.UserInfoStoreKey, userInfo)
// wx.setStorageSync(HTTPConst.TokenStoreKey, token)
success(data) success(data)
}, },
} }

Loading…
Cancel
Save