Commit 9c9f2ff1 by liang ce

token更新

parent 3d414d80
...@@ -39,7 +39,8 @@ function getToken () { ...@@ -39,7 +39,8 @@ 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) {
resolve('noPermission') // eslint-disable-next-line prefer-promise-reject-errors
reject('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