Browse Source

登录校验密码是否符合密码策略,不符合则修改密码

hella_online_20241011
bjang03 2 months ago
parent
commit
42d219f232
  1. 6
      src/api/httpRequest3.js

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

Loading…
Cancel
Save