Pārlūkot izejas kodu

fix 修改接口

daiyihua 1 gadu atpakaļ
vecāks
revīzija
64a817a800
1 mainītis faili ar 8 papildinājumiem un 81 dzēšanām
  1. 8 81
      src/main/resources/application-routes-mg-qa.yml

+ 8 - 81
src/main/resources/application-routes-mg-qa.yml

@@ -46,97 +46,24 @@ spring:
                 authResponse401: true
                 auth: ${auths-name.ywt-mg}
         # center后台接口
-        - id: mg-qa-nfthwe-auth
-          uri: ${servers-mapping.web-static}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/nfthwe
-          filters:
-            - name: Auth
-              args:
-                auth: ${auths-name.ywt-wechat-nfth-mp}
-        - id: mg-qa-nfthwe-notify
-          uri: ${lb-servers.ywt-platform-rest}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/nfthwe/notify
-        # 太和公众号 end
-
-        # 南方医务通公众号 start
-        # 门诊业务
-        - id: mg-qa-api-auth-outpatient
-          uri: ${lb-servers.ywt-mgcenter-web}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/api/baiyun/register,/api/taihe/checkUp,/api/taihe/dh/inspection,/api/taihe/dhop,/api/taihe/main/register,/api/taihe/medicalRecord,/api/taihe/nfyy/add/register,/api/taihe/nfyy/register,/api/taihe/outpatient,/api/taihe/register,/api/taihe/mri,/api/nat,/api/outpatient,/api/taihe/register,/api/yiDa
-          filters:
-            - StripPrefix=1
-            - name: Auth
-              args:
-                authResponse401: true
-                auth: ${auths-name.ywt-wechat-nfywt-mp}
-                setHeaders: [ 'pl-terminal', '2' ]
-        - id: mg-qa-api-no-auth-outpatient
-          uri: ${lb-servers.ywt-mgcenter-web}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/api/auth/wechat
-          filters:
-            - StripPrefix=1
-            - name: Auth
-              args:
-                refreshAuth: ${auths-name.ywt-wechat-nfywt-mp}
-                setHeaders: [ 'pl-terminal', '2' ]
-        # 其他转发到互联网业务
-        - id: mg-qa-api-auth-internethosp
-          uri: ${lb-servers.internethospital-web}
+        - id: mg-qa-api
+          uri: ${servers-mapping.ywt-mgcenter-web}
           predicates:
             - Host=${host-name.mg-qa}
             - Path=/api
           filters:
-            - StripPrefix=1
             - name: Auth
               args:
                 authResponse401: true
-                auth: ${auths-name.ywt-wechat-nfywt-mp}
-        # 静态页面
-        - id: mg-qa-nfywtwe-auth
-          uri: ${servers-mapping.web-static}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/nfywtwe
-          filters:
-            - name: Auth
-              args:
-                auth: ${auths-name.ywt-wechat-nfywt-mp}
-        - id: mg-qa-nfywtwe-pay
-          uri: ${servers-mapping.web-static}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/nfywtwe/pay
-          filters:
-            - name: Auth
-              args:
-                auth: ${auths-name.ywt-wechat-nfywt-mp-base-for-nfywtwe}
-        - id: mg-qa-nfywtwe-auth-wechat-base
+                auth: ${auths-name.ywt-mg}
+                timeout: 90
+        # 根目录
+        - id: mg-qa
           uri: ${lb-servers.ywt-mgcenter-web}
           predicates:
             - Host=${host-name.mg-qa}
-            - Path=/api/auth/wechat/base
-          filters:
-            - StripPrefix=1
-            - name: Auth
-              args:
-                auth: ${auths-name.ywt-wechat-nfywt-mp-base-for-nfywtwe}
-                setHeaders: [ 'pl-terminal', '2' ]
-
-        - id: mg-qa-nfywtwe-notify
-          uri: ${lb-servers.ywt-platform-rest}
-          predicates:
-            - Host=${host-name.mg-qa}
-            - Path=/nfywtwe/notify
-        # 南方医务通公众号 end
-
+            - Path=/
+        # 管理后台 end