Explorar o código

20170815 wxw
过滤掉越人接口请求的拦截

wangxingwang %!s(int64=8) %!d(string=hai) anos
pai
achega
c11b3ce365

+ 1 - 0
patient-co-manage/wlyy-manage/src/main/java/com/yihu/wlyy/filter/SessionOutTimeFilter.java

@ -21,6 +21,7 @@ public class SessionOutTimeFilter extends OncePerRequestFilter {
    protected void doFilterInternal(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, FilterChain filterChain) throws ServletException, IOException {
        String path = httpServletRequest.getRequestURI();
        if (path.indexOf("/login") != -1
                || path.indexOf("/yueren") != -1
                || path.indexOf("/out") != -1
                || path.indexOf("/error") != -1
                || path.indexOf(httpServletRequest.getContextPath() + "/static") != -1