解决登录超时后不跳转的bug(优化)
This commit is contained in:
@@ -77,8 +77,10 @@ public class LogCostFilter implements Filter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
servletResponse.setStatus(500);
|
servletResponse.setStatus(500);
|
||||||
|
if(requestUrl != null && !requestUrl.contains("/user/logout") && !requestUrl.contains("/function/findMenuByPNumber")) {
|
||||||
servletResponse.getWriter().write("loginOut");
|
servletResponse.getWriter().write("loginOut");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static String regexPrefix = "^.*";
|
private static String regexPrefix = "^.*";
|
||||||
private static String regexSuffix = ".*$";
|
private static String regexSuffix = ".*$";
|
||||||
|
|||||||
Reference in New Issue
Block a user