mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-19 10:16:58 +08:00
fix: checkstyle
This commit is contained in:
@@ -42,11 +42,10 @@ public class OAuth2AuthenticationSuccessHandler implements AuthenticationSuccess
|
||||
operationLogService.saveLoginLog(details.getUserPojo(), false, null);
|
||||
return new CredentialsExpiredException("请重新登陆");
|
||||
});
|
||||
operationLogService.saveLoginLog(details.getUserPojo(), true, null);
|
||||
response.setCharacterEncoding(StandardCharsets.UTF_8.name());
|
||||
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
|
||||
objectMapper.writeValue(response.getWriter(), JsonData.ok(data));
|
||||
operationLogService.saveLoginLog(details.getUserPojo(), true, null);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user