|
@@ -0,0 +1,1340 @@
|
|
|
+spring:
|
|
|
+ cloud:
|
|
|
+ gateway:
|
|
|
+ routes:
|
|
|
+ # api-qa
|
|
|
+ - id: api-qa-v2-auth-wxmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/auth/wxmp
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},11
|
|
|
+
|
|
|
+ - id: api-qa-v2-yunmp-auth-wxmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/yunmp/auth/wxmp
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},18
|
|
|
+
|
|
|
+ - id: api-qa-v2-order-helper-auth-wxmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/orderHelper/auth/wxmp
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},19
|
|
|
+
|
|
|
+ - id: api-qa-v2-nfyybyfy-auth-wxmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/auth/wxmp,/v2/nfyybyfy/hzmp/medicalRecordMailing/cert
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},20
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-dev-oplog
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/dev/opLog,/v2/alipaymp/nfth/dev/opLog,/v2/alipaymp/nfyybyfy/dev/opLog
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/dev/opLog
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-common-announcement
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/commonAnnouncement/getCommonAnnouncement,/v2/commonAnnouncement/getCommonAnnouncement
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/commonAnnouncement/getCommonAnnouncement
|
|
|
+
|
|
|
+ - id: api-qa-v2-outpatient
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/baiyun/register/**,/v2/nfyybyfy/baiyun/checkUp/**,/v2/nfyybyfy/hzmp/register/**,/v2/nfyybyfy/hzmp/taihe/register/**,/v2/nfyybyfy/taihe/register/**,/v2/nfyybyfy/taihe/dh/inspection/**,/v2/nfyybyfy/taihe/dhop/**,/v2/nfyybyfy/taihe/medicalRecord/**,/v2/nfyybyfy/taihe/checkUp/**,/v2/nfyybyfy/taihe/main/register/**,/v2/nfyybyfy/taihe/nfyy/add/register/**,/v2/nfyybyfy/taihe/nfyy/register/**,/v2/nfyybyfy/taihe/outpatient/**,/v2/nfyybyfy/checkupBooking/**,/v2/nfyybyfy/medEquip/**,/v2/nfyybyfy/medicalRecord/**,/v2/nfyybyfy/outpatient/micro/**,/v2/nfyybyfy/taihe/mri/**,/v2/nfyybyfy/nat/**,/v2/nfyybyfy/operationSchedule/**,/v2/nfyybyfy/outpatient/**,/v2/nfyybyfy/register/**,/v2/nfyybyfy/report/**,/v2/nfyybyfy/yiDa/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2-outpatient-th
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/baiyun/checkUp**,/v2/baiyun/register/**,/v2/hzmp/register/**,/v2/hzmp/taihe/register/**,/v2/taihe/checkUp/**,/v2/taihe/dh/inspection/**,/v2/taihe/dhop/**,/v2/taihe/main/register/**,/v2/taihe/medicalRecord/**,/v2/taihe/nfyy/add/register/**,/v2/taihe/nfyy/register/**,/v2/taihe/outpatient/**,/v2/taihe/register/**,/v2/checkupBooking/**,/v2/medEquip/**,/v2/medicalRecord/**,/v2/outpatient/micro/**,/v2/taihe/mri/**,/v2/nat/**,/v2/operationSchedule/**,/v2/outpatient/**,/v2/register/**,/v2/report/**,/v2/yiDa/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2-nfyybyfy-taihe-user-sync-med-cards
|
|
|
+ # FIXME: 应该使用自定义 Filter 实现更好
|
|
|
+ uri: ${servers-mapping.no-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/taihe/user/syncMedCards
|
|
|
+
|
|
|
+ - id: api-qa-v2-nutrimeal
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nutrimeal/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2-nfyybyfy-nutrimeal
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/nutrimeal/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=3
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2-th-nutrimeal
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nutrimeal/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2-nfyybyfy-glasses
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/glasses/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=3
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ - id: api-qa-v2-nfyybyfy
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},20
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-auth-nfywtwxmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/auth/nfywtwxmp
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/auth/wxmp
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},1
|
|
|
+
|
|
|
+ - id: api-qa-v2-account-wxapp-doctor-login
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/account/wxapp/doctor/login,/v2/doctor/cert,/v2/treatment/report,/v2/article/pdfDetail,/v2/material/pdf
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},16
|
|
|
+
|
|
|
+ - id: api-qa-v2-invoice-pdf
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/invoice/pdf
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},11
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-yunmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/yunmp/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},18
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfyybyfy-register-get-registered-announcement
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfyybyfy/register/getRegisteredAnnouncement,/v2/alipaymp/nfth/register/getRegisteredAnnouncement
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/baiyun/register/getRegisteredAnnouncement
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfyybyfy-common-announcement-get-guide-list
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfyybyfy/commonAnnouncement/getGuideList,/v2/alipaymp/nfth/commonAnnouncement/getGuideList
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/commonAnnouncement/getGuideList
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfyybyfy-introduce-get-introduce
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfyybyfy/introduce/getIntroduce,/v2/alipaymp/nfth/introduce/getIntroduce
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/baiyun/register/getIntroduce
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfyybyfy-outpatient-revoke-settle
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfyybyfy/outpatient/revokeSettle
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/taihe/dhop/revokeSettle
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},24
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfyybyfy
|
|
|
+ uri: ${servers-mapping.alipay-mp-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfyybyfy/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=3
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},24
|
|
|
+
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfth-outpatient-revoke-settle
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfth/outpatient/revokeSettle
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/taihe/dhop/revokeSettle
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},25
|
|
|
+
|
|
|
+ - id: api-qa-v2-alipaymp-nfth
|
|
|
+ uri: ${servers-mapping.alipay-mp-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfth/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=3
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},25
|
|
|
+
|
|
|
+ - id: api-qa-v2-digital-auth-wxmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/digital/auth/wxmp
|
|
|
+ filters:
|
|
|
+ - RewritePath=/.*,/auth/wxmp
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},26
|
|
|
+
|
|
|
+ - id: api-qa-v2-digital-enterprise-marketting
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/digital/enterprise/marketting/marketPage,/v2/digital/enterprise/marketting/getProjectDetail
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},26
|
|
|
+
|
|
|
+ - id: api-qa-v2-digital
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/digital/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},26
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2-wxinspay-get-auth-params
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/hosp/wxInsPay/getAuthParams
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: api-qa-v2
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # cloudfilm-qa
|
|
|
+ - id: cloudfilm-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.cloudfilm-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ # doc-qa
|
|
|
+
|
|
|
+ - id: doc-qa-user-login
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/user/login
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ - id: doc-qa-auth-wechat-oauth2
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/api/auth/wechat/oauth2,/api/account/login
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},15
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-doctor-pc-app}
|
|
|
+
|
|
|
+ - id: doc-qa-api-account-update-psw
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/api/account/updatePassword,/api/system/verifycode,/api/system/getVerifyEncryptCode,/api/commonAnnouncement/getCommonAnnouncement,/api/dev/opLog,/api/account/checkForgetPasswordSms
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+
|
|
|
+ - id: doc-qa-api
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/api/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},15
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-doctor-pc-app}
|
|
|
+ authResponse401: true
|
|
|
+
|
|
|
+ - id: doc-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},15
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-doctor-pc-app}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ # glasses-qa
|
|
|
+ - id: glasses-qa-api-auth-glasses-login
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/api/auth/glasses/login
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-mg}
|
|
|
+
|
|
|
+ - id: glasses-qa-api-auth-change-psw
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/api/auth/changepassword
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: glasses-qa-mg
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/mg/orders/downloadOrdersListGet,/mg/goods/downloadGoodsListGet,/mg/orders/downloadAmountListGet
|
|
|
+
|
|
|
+
|
|
|
+ - id: glasses-qa-api
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/api/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: glasses-qa
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ # m-qa start
|
|
|
+
|
|
|
+
|
|
|
+ # 太和公众号 start
|
|
|
+ # 门诊业务
|
|
|
+ - id: m-qa-nfthapi-outpatient
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthapi/baiyun/register/**,/nfthapi/taihe/checkUp/**,/nfthapi/taihe/dh/inspection/**,/nfthapi/taihe/dhop/**,/nfthapi/taihe/main/register/**,/nfthapi/taihe/medicalRecord/**,/nfthapi/taihe/nfyy/add/register/**,/nfthapi/taihe/nfyy/register/**,/nfthapi/taihe/outpatient/**,/nfthapi/taihe/register/**,/nfthapi/taihe/mri/**,/nfthapi/nat/**,/nfthapi/outpatient/**,/nfthapi/yiDa/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-wechat-nfth-mp}
|
|
|
+ - id: m-qa-nfthapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},8
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfth-mp}
|
|
|
+ # 其他转发到互联网业务
|
|
|
+ - id: m-qa-nfthapi-internethosp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-wechat-nfth-mp}
|
|
|
+
|
|
|
+ - id: m-qa-nfthwe-notify
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthwe/notify
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-nfthwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfth-mp}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ # 太和公众号 end
|
|
|
+
|
|
|
+ # 南方医务通公众号 start
|
|
|
+ # 门诊业务
|
|
|
+ - id: m-qa-api-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
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+ - id: m-qa-api-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/api/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+
|
|
|
+ - id: m-qa-api-auth-wechat-base
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/api/auth/wechat/base
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp-base-for-nfywtwe}
|
|
|
+
|
|
|
+ # 其他转发到互联网业务
|
|
|
+ - id: m-qa-api-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-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}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ - id: m-qa-nfywtwe-notify
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfywtwe/notify
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-nfywtwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfywtwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ # 南方医务通公众号 end
|
|
|
+
|
|
|
+ # 医生端 我的工作站 公众号 start
|
|
|
+ - id: m-qa-drapi-doctor-info
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/drapi/ysmp/doctor/info
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-doc-mp}
|
|
|
+ - id: m-qa-doctorwe-share-doctor-info
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/doctorwe/share/doctorInfo
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ - id: m-qa-drapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/drapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},7
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-doc-mp}
|
|
|
+ - id: m-qa-drapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/drapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},7
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-doc-mp}
|
|
|
+ authResponse401: true
|
|
|
+
|
|
|
+ - id: m-qa-doctorwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/doctorwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-doc-mp}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ # 医生端 我的工作站 公众号 end
|
|
|
+
|
|
|
+ # 医生端 南方医院太和互联网医院医生版 公众号 start
|
|
|
+ - id: m-qa-thnetdocapi-doctor-info
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocapi/doctor/info
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-thnetdoc-mp}
|
|
|
+ - id: m-qa-thnetdocwe-share-doctor-info
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocwe/share/doctorInfo
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},13
|
|
|
+ - 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:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},13
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-thnetdoc-mp}
|
|
|
+ authResponse401: true
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-thnetdoc-mp}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ # 医生端 南方医院太和互联网医院医生版 公众号 end
|
|
|
+
|
|
|
+ # 医生端 南方医院白云互联网医院医生版 公众号 start
|
|
|
+ - id: m-qa-nfyybyfydocapi-doctor-info
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocapi/doctor/info
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
|
|
|
+ - id: m-qa-nfyybyfydocwe-share-doctor-info
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocwe/share/doctorInfo
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-nfyybyfydocapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},22
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
|
|
|
+ - id: m-qa-nfyybyfydocapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},22
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
|
|
|
+ authResponse401: true
|
|
|
+
|
|
|
+ - id: m-qa-nfyybyfydocwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ # 医生端 南方医院白云互联网医院医生版 公众号 end
|
|
|
+
|
|
|
+ # 顺丰推送 start
|
|
|
+ - id: m-qa-sf-route-back
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/sf/route/back
|
|
|
+ # 顺丰推送 end
|
|
|
+
|
|
|
+ # 乐普回调 start
|
|
|
+ - id: m-qa-lepu-notfiy
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/lepu/notify
|
|
|
+
|
|
|
+ # 乐普回调 end
|
|
|
+
|
|
|
+ # 流调 start
|
|
|
+ - id: m-qa-epid-survey-api
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/epidSurveyApi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.ttoken},'UunV9#!4VSB7n424'
|
|
|
+ # 流调 end
|
|
|
+
|
|
|
+ - id: m-qa-ainavi
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/ainavi/**
|
|
|
+
|
|
|
+ - id: m-qa-cloudfilm
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/cloudfilm/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: m-qa-bank-service
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/bankService/**
|
|
|
+
|
|
|
+ # 【广东医务通】公众号 start
|
|
|
+ - id: m-qa-gdywtweapi-auth-wechat-base
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/gdywtweapi/auth/wechat/base
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},14
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-gdywt-mp-base}
|
|
|
+
|
|
|
+ - id: m-qa-gdywtweapi
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/gdywtweapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-gdywt-mp-base}
|
|
|
+
|
|
|
+ - id: m-qa-gdywtwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/gdywtwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-gdywt-mp-base}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+ # 【广东医务通】公众号 end
|
|
|
+
|
|
|
+ # 【医务通互联网医院】公众号 start
|
|
|
+ - id: m-qa-thnetpatientweapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetpatientweapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},12
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-thnetpatientwe-mp}
|
|
|
+
|
|
|
+ - id: m-qa-thnetpatientweapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetpatientweapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+
|
|
|
+ - id: m-qa-thnetpatientwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetpatientwe/**
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ # 【医务通互联网医院】公众号 end
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocmp
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocmp/**
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocexapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocexapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},13
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: m-qa-marketingapi-auth-wechat
|
|
|
+ uri: ${servers-mapping.marketing-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - SetRequestHeader=${headers-key.pl-terminal},9
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-druggistwe-mp}
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-marketingapi-commonAnnouncement
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapi/commonAnnouncement/getCommonAnnouncement
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-marketingapi
|
|
|
+ uri: ${servers-mapping.marketing-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-druggistwe-mp}
|
|
|
+
|
|
|
+ - id: m-qa-druggistwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/druggistwe/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-druggistwe-mp}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-marketingapitest-marketingapi
|
|
|
+ uri: ${servers-mapping.marketing-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapitest/marketingapi
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-marketingapitest
|
|
|
+ uri: ${servers-mapping.marketing-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapitest/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ - id: m-qa-nfyybyfywe-notify
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfywe/notify
|
|
|
+
|
|
|
+ - id: m-qa-nfyybyfywe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfywe/**
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ # m-qa end
|
|
|
+
|
|
|
+
|
|
|
+ # 管理后台 start
|
|
|
+
|
|
|
+ # 日志相关接口
|
|
|
+ - id: mg-qa-drapi-dev-opLog
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/drapi/dev/opLog,/nfyybyfydocapi/dev/opLog,/thnetdocapi/dev/opLog,/marketingapi/dev/opLog,/nfthapi/dev/opLog,/api/dev/opLog
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+
|
|
|
+ # 登录页面
|
|
|
+ - id: mg-qa-m-sysconfig-user-login
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/m-sysconfig/user/login
|
|
|
+ filters:
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+ # 登录接口
|
|
|
+ - id: mg-qa-api-auth-login
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/api/auth/login
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-mg}
|
|
|
+ # 药品后台接口
|
|
|
+ - id: mg-qa-drugapi
|
|
|
+ uri: ${lb-servers.prescription-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/drugapi/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ # center后台接口
|
|
|
+ - id: mg-qa-api
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/api/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ uthResponse401: true
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ timeout: 90
|
|
|
+ # 营养餐接口
|
|
|
+ - id: mg-qa-nutrimeal
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/nutrimeal/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ timeout: 90
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ # 眼镜店接口
|
|
|
+ - id: mg-qa-glasses-mg-shop-getShopList
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/glasses/mg/shop/getShopList
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-mg}
|
|
|
+ - id: mg-qa-glasses
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/glasses/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ # 下载服务
|
|
|
+ - id: mg-qa-downloadService
|
|
|
+ uri: ${lb-servers.download-service-api-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/downloadService/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ timeout: 300
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ # 根目录
|
|
|
+ - id: mg-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - PreserveHostHeader
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ # 管理后台 end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # 后台api服务 start
|
|
|
+ # 药品后台
|
|
|
+ - id: mgapi-qa-drug
|
|
|
+ uri: ${lb-servers.prescription-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/drug/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ log: true
|
|
|
+ authResponse401: true
|
|
|
+ refreshAuth: ${auths-name.ywt-mg-api}
|
|
|
+ # 药房客户端excel下载
|
|
|
+ - id: mgapi-qa-downloadListFile
|
|
|
+ uri: ${lb-servers.prescription-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/drug/pharmacy/prescription/downloadPrescriptionListFile,/drug/pharmacyPrescription/downloadPrescriptionListFile,/drug/pharmacyPrescription/downloadDrugServiceConditionFile,/drug/pharmacyPrescription/downloadPrescriptionDrugListFile,/drug/consumable/downloadConsumableConditionFile,/drug/pharmacy/prescription/downloadBaiyunAndTaihePrescriptionListFile,/drug/pharmacy/prescription/downloadPrescriptionInfoListForBill,/drug/consumable/downloadMedicalOrderListForPharmacy,/drug/adverseReaction/downloadAdverseReactionFeedbackListFile,/drug/bill/third/downloadBillThirdFile,/drug/pharmacy/prescription/downloadOrderListForBill
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ # 登录接口
|
|
|
+ - id: mgapi-qa-auth-dgcli-login
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/auth/dgcli/login,/auth/updateClientMsgSetting,/auth/tollCollectorLogin
|
|
|
+ # 下载服务下载
|
|
|
+ - id: mgapi-qa-downloadService-pharmacy-downloadFile
|
|
|
+ uri: ${lb-servers.download-service-api-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/downloadService/pharmacy/downloadFile
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ # 药品后台接口
|
|
|
+ - id: mgapi-qa-auth-imtoken
|
|
|
+ uri: ${lb-servers.prescription-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/drug/auth/imtoken,/drug/sys/verifycode,/drug/decode/addDispenserMobile,/drug/file/image/upload,/drug/bill/third/downloadCheckListFile,/drug/pharmacy/drugs/downloadDrugListFile,/drug/bill/third/downloadMonthBillListFile
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ # mg后台接口
|
|
|
+ - id: mgapi-qa-sys-verifycode
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/drug/sys/verifycode,/drug/decode/addDispenserMobile
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ # 眼镜店接口
|
|
|
+ - id: mgapi-qa-glasses
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/glasses/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ # 下载服务
|
|
|
+ - id: mgapi-qa-downloadService
|
|
|
+ uri: ${lb-servers.download-service-api-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/downloadService/**
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ # 日志相关接口
|
|
|
+ - id: mgapi-qa-dev-opLog
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/dev/opLog
|
|
|
+ # 根目录
|
|
|
+ - id: mgapi-qa
|
|
|
+ uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mgapi-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-mg-api}
|
|
|
+ # 后台api服务 end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # nutrimeal-qa
|
|
|
+
|
|
|
+ - id: nutrimeal-qa-display
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/display
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+
|
|
|
+
|
|
|
+ - id: nutrimeal-qa-meal-auth-login
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/mealAuth/login,/mealAuth/sendCode,/mealAuth/verifyCode,/mealAuth/updatePassword
|
|
|
+
|
|
|
+ - id: nutrimeal-qa-api-meal-order-download
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/api/mealOrder/downloadMealOrderList,/api/report/downloadOrderDishData
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+
|
|
|
+
|
|
|
+ - id: nutrimeal-qa-api
|
|
|
+ uri: ${lb-servers.nutrimeal-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/api/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: nutrimeal-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ - RewritePath=([^/])$,$1/
|
|
|
+ - PreserveHostHeader
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # openapi-qa
|
|
|
+
|
|
|
+
|
|
|
+ - id: openapi-qa-hosp-notify-v2
|
|
|
+ uri: ${servers-mapping.dong-hua-rest-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/hosp/notify/v2
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: openapi-qa-hosp-nfyybyfy-notify-v2
|
|
|
+ uri: ${servers-mapping.nfyybyfy-rest-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/hosp/nfyybyfy/notify/v2
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: openapi-qa-hosp-wx-ins-pay-refund
|
|
|
+ uri: ${servers-mapping.wx-ins-pay-rest-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/hosp/wxInsPay/refund
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: openapi-qa-auth-wx-web-auth
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/auth/wxWebAuth
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: openapi-qa-hosp-notify-his-esb-api
|
|
|
+ uri: ${servers-mapping.his-esb-api-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/hosp/notify/hisEsbApi/v2
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: openapi-qa-druggist
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/druggist/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+ - id: openapi-qa
|
|
|
+ uri: ${servers-mapping.external-api-service}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.openapi-qa}
|
|
|
+ - Path=/**
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # pay-qa
|
|
|
+ - id: pay-qa
|
|
|
+ uri: ${lb-servers.ywt-pay-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.pay-qa}
|
|
|
+ - Path=/**
|