fix: checkstyle

This commit is contained in:
vran 2022-04-25 12:45:47 +08:00
parent 43db502320
commit 784e570094
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}