Commit 5497d118 by linboxuan

Merge branch 'center-channel' of http://gitlab.gongsibao.com/jiangyong/zhichan into center-channel

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