Explorar o código

fix 修改配置,新增å¹ ç网关配置

daiyihua hai 1 ano
pai
achega
71cf067f50
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      src/main/resources/application-routes-qa.yml

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

@@ -658,6 +658,18 @@ spring:
             - name: Auth
               args:
                 refreshAuth: ${auths-name.ywt-wechat-thnetdoc-mp}
+        - id: m-qa-thnetdocapi-outpatient
+          uri: ${lb-servers.outpatient-web}
+          predicates:
+            - Host=${host-name.m-qa}
+            - Path=/thnetdocapi/outpatient/micro/**
+          filters:
+            - StripPrefix=1
+            - SetRequestHeader=${headers-key.pl-terminal},13
+            - name: Auth
+              args:
+                auth: ${auths-name.ywt-wechat-thnetdoc-mp}
+                authResponse401: true
         - id: m-qa-thnetdocapi
           uri: ${lb-servers.internethospital-web}
           predicates: