mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
style: 删除无用代码
This commit is contained in:
parent
7301f4eec2
commit
6227aeab4b
@ -23,7 +23,7 @@ import java.io.IOException;
|
||||
public class MyAuthenticationEntryPoint implements AuthenticationEntryPoint {
|
||||
@Override
|
||||
public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException)
|
||||
throws IOException, ServletException {
|
||||
throws IOException {
|
||||
response.setContentType("application/json");
|
||||
response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
|
Loading…
Reference in New Issue
Block a user