mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-20 02:39:20 +08:00
fix: checkstyle
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user