|
@ -1,5 +1,6 @@
|
|
|
package com.yihu.wlyy.filter;
|
|
|
|
|
|
import io.vavr.match.annotation.Patterns;
|
|
|
import org.springframework.context.annotation.Profile;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.filter.OncePerRequestFilter;
|
|
@ -9,6 +10,7 @@ import javax.servlet.ServletException;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.IOException;
|
|
|
import java.util.regex.Pattern;
|
|
|
|
|
|
/**
|
|
|
* @author lincl
|
|
@ -30,7 +32,7 @@ public class SessionOutTimeFilter extends OncePerRequestFilter {
|
|
|
|| path.indexOf(httpServletRequest.getContextPath() + "/static") != -1
|
|
|
|| path.indexOf("swagger") != -1
|
|
|
|| path.indexOf(httpServletRequest.getContextPath() + "/v2/api-docs") != -1
|
|
|
|| path.indexOf("/synergy") != -1) {
|
|
|
|| path.indexOf("/synergy/doctor") != -1) {
|
|
|
filterChain.doFilter(httpServletRequest, httpServletResponse);
|
|
|
return;
|
|
|
}
|