Commit 66c08cf8 authored by Quxl's avatar Quxl

x

parent 5d1229fc
...@@ -22,7 +22,6 @@ public class AdminLoginInterceptor extends HandlerInterceptorAdapter { ...@@ -22,7 +22,6 @@ public class AdminLoginInterceptor extends HandlerInterceptorAdapter {
@Override @Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
System.out.println(adminTokenService.getLoginBean());
if(adminTokenService.getLoginBean() == null) { if(adminTokenService.getLoginBean() == null) {
throw new XRException("请登陆后再操作", 300); throw new XRException("请登陆后再操作", 300);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment