Commit 5e379f37 authored by 季圣华's avatar 季圣华
Browse files

解决登录超时后不跳转的bug(优化)

parent 50af84a4
...@@ -77,8 +77,10 @@ public class LogCostFilter implements Filter { ...@@ -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 = ".*$";
......
Supports Markdown
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