Commit ee6f355b by 高淑倩

非空

parent b289ba44
......@@ -165,12 +165,14 @@ class WXService extends Http {
wechatInfo: null,
brandId: app.globalData.brandId,
}).then(response => {
if (response) {
let dataResp = response.data.data
wx.setStorageSync('token', dataResp.token)
wx.setStorageSync('_baseUserInfo', dataResp)
return Promise.resolve({
response
})
}
}).catch(err => {
return Promise.reject(err)
})
......
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