|
@@ -68,6 +68,9 @@ public class AuthenticationEntryPointImpl implements AuthenticationEntryPoint, S
|
|
|
String msg = StringUtils.format("token已过期", request.getRequestURI());
|
|
|
ServletUtils.renderString(response, JSON.toJSONString(AjaxResult.error(code402, msg)));
|
|
|
}
|
|
|
+ } else {
|
|
|
+ String msg = StringUtils.format("token已过期", request.getRequestURI());
|
|
|
+ ServletUtils.renderString(response, JSON.toJSONString(AjaxResult.error(code402, msg)));
|
|
|
}
|
|
|
}
|
|
|
}
|