Commit 7367ecda by 王栋源

wdy

parent c777f61c
...@@ -110,10 +110,12 @@ class UtilsAuthSve extends AppServiceBase { ...@@ -110,10 +110,12 @@ class UtilsAuthSve extends AppServiceBase {
return system.getResult(null, "actionBody.userpin can not be empty !"); return system.getResult(null, "actionBody.userpin can not be empty !");
} }
var cacheManager = system.getObject("db.common.cacheManager"); var cacheManager = system.getObject("db.common.cacheManager");
var a = await cacheManager["AppUserPinByLoginVcodeCache"].invalidate(actionBody.userpin); var userinfo = await this.cacheManager["AppUserPinByLoginPwdCache"].cache(actionBody.userpin, pobj, system.exTime);
var b = await cacheManager["AppUserPinByLoginPwdCache"].invalidate(actionBody.userpin); await cacheManager["AppUserPinByLoginVcodeCache"].invalidate(actionBody.userpin);
var c=actionBody.userpin; await cacheManager["AppUserPinByLoginPwdCache"].invalidate(actionBody.userpin);
return system.getResultSuccess({a,b,c}); pobj.actionBody.userName=userinfo.data.channel_username;
var applogout=await this.restPostUrl(pobj, this.centerAppUrl + "auth/accessAuth/logout");
return applogout;
} }
} }
......
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