fix: checkstyle
This commit is contained in:
parent
43db502320
commit
784e570094
|
@ -42,11 +42,10 @@ public class OAuth2AuthenticationSuccessHandler implements AuthenticationSuccess
|
||||||
operationLogService.saveLoginLog(details.getUserPojo(), false, null);
|
operationLogService.saveLoginLog(details.getUserPojo(), false, null);
|
||||||
return new CredentialsExpiredException("请重新登陆");
|
return new CredentialsExpiredException("请重新登陆");
|
||||||
});
|
});
|
||||||
operationLogService.saveLoginLog(details.getUserPojo(), true, null);
|
|
||||||
response.setCharacterEncoding(StandardCharsets.UTF_8.name());
|
response.setCharacterEncoding(StandardCharsets.UTF_8.name());
|
||||||
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
|
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
|
||||||
objectMapper.writeValue(response.getWriter(), JsonData.ok(data));
|
objectMapper.writeValue(response.getWriter(), JsonData.ok(data));
|
||||||
|
operationLogService.saveLoginLog(details.getUserPojo(), true, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue