Sfoglia il codice sorgente

Merge branch 'master' of http://gogs.ywtinfo.com/ywt_rebuild_group/ywt-gateway

Walker 1 anno fa
parent
commit
4822b90327

+ 1 - 1
src/main/java/com/ywt/gateway/filter/AuthGatewayFilterFactory.java

@@ -275,7 +275,7 @@ public class AuthGatewayFilterFactory extends AbstractGatewayFilterFactory<HostL
                 if (!cookieName.isEmpty()) tokenName = cookieName;
                 ResponseCookie cookie = ResponseCookie.from(tokenName, token)
                         .httpOnly(false)
-//                        .path("/")
+                        .path("/")
 //                        .maxAge(authInfo.getMaxAge())
                         .domain(authInfo.getCookieDomain())
                         .build();

+ 2 - 2
src/main/resources/application-routes-qa.yml

@@ -939,8 +939,8 @@ spring:
             - StripPrefix=1
             - name: Auth
               args:
-                #                authResponse401: true
-                #                auth: ${auths-name.ywt-mg}
+                uthResponse401: true
+                auth: ${auths-name.ywt-mg}
                 timeout: 90
         # 营养餐接口
         - id: mg-qa-nutrimeal