Browse Source

fix 修改接口

daiyihua 1 year ago
parent
commit
1e46b83cc8

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

@@ -38,7 +38,7 @@ spring:
           uri: ${lb-servers.prescription-web}
           predicates:
             - Host=${host-name.mg-qa}
-            - Path=/drugapi
+            - Path=/drugapi/**
           filters:
             - StripPrefix=1
             - name: Auth
@@ -50,8 +50,9 @@ spring:
           uri: ${lb-servers.ywt-mgcenter-web}
           predicates:
             - Host=${host-name.mg-qa}
-            - Path=/api
+            - Path=/api/**
           filters:
+            - StripPrefix=1
             - name: Auth
               args:
                 authResponse401: true

+ 6 - 0
src/main/resources/application.yml

@@ -30,3 +30,9 @@ spring:
       httpclient:
         connect-timeout: 1000
         response-timeout: 55s
+
+logging:
+  level:
+    # 日记级别,设置的越小捕抓的信息越多 trace<debug<info<warn<error
+    #root 键指定了根日志记录器的级别为 INFO
+    root: DEBUG