Browse Source

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

Walker 1 year ago
parent
commit
530a9c0b96

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

@@ -48,7 +48,7 @@ import java.util.*;
  *
  */
 @Slf4j
-@Component
+/*@Component*/
 public class GlobalCountAndLogFilter implements GlobalFilter, Ordered {
     private final List<HttpMessageReader<?>> messageReaders = HandlerStrategies.withDefaults().messageReaders();
     private final Logger logger = LoggerFactory.getLogger(GlobalCountAndLogFilter.class);

+ 12 - 12
src/main/resources/application-biz-qa.yml

@@ -1,13 +1,13 @@
 # 公共变量
 servers-mapping:
-  web-static: http://172.18.82.224:9998
+  web-static: http://120.77.174.122:9998
   marketing-api: http://172.18.226.68:11320
-  alipay-mp-api: http://172.18.82.224:8097
-  external-api-service: http://172.18.82.224:7777
-  dong-hua-rest-service: http://172.18.82.224:7668
-  nfyybyfy-rest-service: http://172.18.82.224:7670
-  wx-ins-pay-rest-service: http://172.18.82.224:7669
-  his-esb-api-service: http://172.18.82.224:13900
+  alipay-mp-api: http://120.77.174.122:8097
+  external-api-service: http://120.77.174.122:7777
+  dong-hua-rest-service: http://120.77.174.122:7668
+  nfyybyfy-rest-service: http://120.77.174.122:7670
+  wx-ins-pay-rest-service: http://120.77.174.122:7669
+  his-esb-api-service: http://120.77.174.122:13900
   no-rest: http://127.0.0.1:${server.port}
 
 headers-key:
@@ -346,19 +346,19 @@ biz:
   upstreams:
     -
       name: 'nfth-qt-static'
-      groups: ['http://172.18.82.224:17000']
+      groups: ['http://120.77.174.122:17000']
     -
       name: 'nfth-qt-api'
-      groups: ['http://172.18.82.224:17001']
+      groups: ['http://120.77.174.122:17001']
     -
       name: 'ywt-web-api'
-      groups: ['http://172.18.82.224:8090']
+      groups: ['http://120.77.174.122:8090']
     -
       name: 'ywt-rest-api'
-      groups: ['http://172.18.82.224:8003']
+      groups: ['http://120.77.174.122:8003']
     -
       name: 'ywt-web-static-mp'
-      groups: ['http://172.18.82.224:7023']
+      groups: ['http://120.77.174.122:7023']
     -
       name: 'ywt-mg-server'
       groups: ['http://127.0.0.1:8067']

+ 0 - 5
src/main/resources/application-routes-qa.yml

@@ -935,11 +935,6 @@ spring:
           predicates:
             - Host=${host-name.mg-qa}
             - Path=/
-          filters:
-            - name: Auth
-              args:
-                authResponse401: true
-                auth: ${auths-name.ywt-mg}
         # 营养餐接口
         - id: mg-qa-nutrimeal
           uri: ${lb-servers.nutrimeal-rest}