chenchaod před 1 měsícem
rodič
revize
0dbb5aaf6f

+ 1
- 1
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/portal/AuthManager.java Zobrazit soubor

@@ -65,7 +65,7 @@ public class AuthManager extends AbstractLoginManager implements LogManager<Auth
accountInfoRepo.save(byOpenId);
if (SourceType.ALI.equals(request.getLoginSource()) || SourceType.WECHAT.equals(request.getLoginSource())) {
//更新缓存
redisManager.set(RedisKeyGenerator.getLoginAccountInfoKey(request.getAccessToken()), accountInfo.toJson(), LoginCacheFinals.LOGIN_TOKEN_EXPIRED, TimeUnit.MINUTES);
redisManager.set(RedisKeyGenerator.getLoginAccountInfoKey(request.getAccessToken()), byOpenId.toJson(), LoginCacheFinals.LOGIN_TOKEN_EXPIRED, TimeUnit.MINUTES);
}
AuthResponse response = new AuthResponse();
response.setInfo("实名认证成功");

Načítá se…
Zrušit
Uložit