|
@@ -68,6 +68,81 @@ spring:
|
|
|
- Path=/nfthwe/notify
|
|
|
# 太和公众号 end
|
|
|
|
|
|
+ # 南方医务通公众号 start
|
|
|
+ # 门诊业务
|
|
|
+ - id: m-qa-api-auth-outpatient
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-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: m-qa-api-no-auth-outpatient
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/api/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '2' ]
|
|
|
+ # 其他转发到互联网业务
|
|
|
+ - id: m-qa-api-auth-internethosp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/api
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+ # 静态页面
|
|
|
+ - id: m-qa-nfywtwe-auth
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfywtwe
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+ - id: m-qa-nfywtwe-pay
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfywtwe/pay
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp-base-for-nfywtwe}
|
|
|
+ - id: m-qa-nfywtwe-auth-wechat-base
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-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: m-qa-nfywtwe-notify
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfywtwe/notify
|
|
|
+ # 南方医务通公众号 end
|
|
|
+
|
|
|
|
|
|
|
|
|
|