hexiao преди 1 година
родител
ревизия
c1573f3e8a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      application-webadmin/src/main/java/com/ankaibei/workFlow/webadmin/interceptor/AuthenticationInterceptor.java

+ 1 - 1
application-webadmin/src/main/java/com/ankaibei/workFlow/webadmin/interceptor/AuthenticationInterceptor.java

@@ -51,7 +51,7 @@ public class AuthenticationInterceptor implements HandlerInterceptor {
             throws Exception {
         String url = request.getRequestURI();
         log.info("拦截**请求路径:{}",url);
-        if(url.startsWith("/api/foreign")){
+        if(url.contains("/foreign/")){
             return true;
         }
         String token = this.getTokenFromRequest(request);