Commit 3d414d80 by liang ce

token更新

parent 46de6851
...@@ -39,7 +39,7 @@ function getToken () { ...@@ -39,7 +39,7 @@ function getToken () {
if (res.data.resultCode === 0) { if (res.data.resultCode === 0) {
return res.data.data.mingUserId return res.data.data.mingUserId
} else if (res.data.resultCode === 40003) { } else if (res.data.resultCode === 40003) {
return Promise.reject(new Error('无权登录')) resolve('noPermission')
} }
}).then((mingUserId) => { }).then((mingUserId) => {
let loginData = qs.stringify({ let loginData = qs.stringify({
......
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