diff --git a/src/api/httpRequest3.js b/src/api/httpRequest3.js index ea11f417..23d1c340 100644 --- a/src/api/httpRequest3.js +++ b/src/api/httpRequest3.js @@ -47,6 +47,12 @@ function service(options = {}) { url: '/pages/login/index' }) } + if (res.data.code == 1002000008) { + uni.setStorageSync('username',options.data.username) + uni.reLaunch({ + url: '/pages/setter/loginPwdUpdate' + }) + } if (res.data.msg) { if (res.data.msg.includes('get lock')) { reject("系统异常:状态码["+res.statusCode +"]\n"+"数据库死锁")