Pārlūkot izejas kodu

适配远程调用

hexiao 1 gadu atpakaļ
vecāks
revīzija
c1573f3e8a

+ 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);