Commit f430fb28 authored by Quxl's avatar Quxl

优化

parent 556d8b3a
...@@ -21,7 +21,7 @@ public class MemberLoginInterceptor extends HandlerInterceptorAdapter { ...@@ -21,7 +21,7 @@ public class MemberLoginInterceptor extends HandlerInterceptorAdapter {
if(tokenService.isLogin()) { if(tokenService.isLogin()) {
return super.preHandle(req, resp, handler); return super.preHandle(req, resp, handler);
} else { } else {
throw new XException("用户未登陆"); throw new XException("用户未登陆", 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