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