Commit 3dc4e11e by 赵雅纹

Merge branch 'feature-zyw' into 'dev'

Feature zyw

See merge request !26
parents accc026b 81857aa5
......@@ -48,7 +48,7 @@ class WXService extends Http {
wx.hideLoading()
}).catch(res => {
console.log(res)
if (res.msg === '该用户尚未登录') {
if (res.msg.indexOf('未登录') > -1) {
wx.setStorageSync('token', '')
var _this = this
let userInfo = wx.getStorageSync('_baseUserInfo')
......@@ -57,7 +57,7 @@ class WXService extends Http {
_this.post(`/member/minaLogin`, {
code: result.code,
wechatInfo: userInfo,
brandId: 2005,
brandId: 1001,
}).then(response=>{
let dataResp = response.data.data
wx.setStorageSync('token', dataResp.token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment