...
|
...
|
@@ -32,7 +32,7 @@ public class AuthInterceptor implements HandlerInterceptor { |
|
|
String path = getPath(request);
|
|
|
//userOperateListener.add(name,request.getRequestURI());//记录用户操作
|
|
|
if(!userAuthLocal.auth(name,path)){
|
|
|
response.sendRedirect("/dashboard/toDashboard");
|
|
|
response.sendRedirect("/user/login");
|
|
|
return false;
|
|
|
}else {
|
|
|
return true;
|
...
|
...
|
|