Commit a6e6fd71 by wkliang

test login

parent 66773cc0
...@@ -92,6 +92,12 @@ class AccessAuthAPI extends WEBBase { ...@@ -92,6 +92,12 @@ class AccessAuthAPI extends WEBBase {
return system.getResultSuccess({ userpin: pobj.actionBody.userpin }) return system.getResultSuccess({ userpin: pobj.actionBody.userpin })
} }
break; break;
case "userTestLogin": // 假登陆
if (pobj.actionBody.userName == 'usrftst' && pobj.actionBody.password == 'usrftst') {
return system.getResultSuccess({ userpin: 'ac74c45ca8e745d9b66cd3f8a3f2172a' })
} else {
return system.getResultFail(-1, '用户名或密码错误')
}
case "userPinByLgoinVcode"://通过短信登录信息 case "userPinByLgoinVcode"://通过短信登录信息
pobj.actionBody.reqType = "login"; pobj.actionBody.reqType = "login";
opResult = await this.utilsAuthSve.getReqUserPinByLgoinVcode(pobj, pobj.actionBody); opResult = await this.utilsAuthSve.getReqUserPinByLgoinVcode(pobj, pobj.actionBody);
......
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