Commit 17334402 by 王栋源

wdy

parent d34ba138
...@@ -396,7 +396,7 @@ class AccessAuthAPI extends APIBase { ...@@ -396,7 +396,7 @@ class AccessAuthAPI extends APIBase {
var cacheKeyStr = appkey + "_" + pobj.mobile; var cacheKeyStr = appkey + "_" + pobj.mobile;
var cacheCode = await this.cacheManager["VCodeCache"].cache(cacheKeyStr, null); var cacheCode = await this.cacheManager["VCodeCache"].cache(cacheKeyStr, null);
if (!cacheCode || pobj.vcode != cacheCode.vcode) { if (!cacheCode || pobj.vcode != cacheCode.vcode) {
return system.getResultFail(-1, "验证码校验不成功,请重新获取验证码验证.", system.verifyVCodeFail); return system.getResultFail(-1, "验证码校验不成功,请重新获取验证码验证." + pobj.vcode + "--" + cacheCode.vcode, system.verifyVCodeFail);
} }
//按照appid和电话查询出要修改的用户 //按照appid和电话查询出要修改的用户
var ruser = await this.userSve.modiPasswordByMobile(appid, pobj.mobile, pobj.newPwd); var ruser = await this.userSve.modiPasswordByMobile(appid, pobj.mobile, pobj.newPwd);
......
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