瀏覽代碼

ias

master
chenchaod 1 月之前
父節點
當前提交
0dbb5aaf6f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/portal/AuthManager.java

+ 1
- 1
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/portal/AuthManager.java 查看文件

@@ -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("实名认证成功");

Loading…
取消
儲存