@ -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"+"数据库死锁")