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

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

parent 50af84a4
......@@ -77,7 +77,9 @@ public class LogCostFilter implements Filter {
}
}
servletResponse.setStatus(500);
servletResponse.getWriter().write("loginOut");
if(requestUrl != null && !requestUrl.contains("/user/logout") && !requestUrl.contains("/function/findMenuByPNumber")) {
servletResponse.getWriter().write("loginOut");
}
}
private static String regexPrefix = "^.*";
......
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