|
@@ -0,0 +1,1243 @@
|
|
|
+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
|
|
|
+
|
|
|
+ - 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ 'pl-terminal', '20' ]
|
|
|
+
|
|
|
+ - 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ 'pl-terminal', '11' ]
|
|
|
+
|
|
|
+ - 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}
|
|
|
+
|
|
|
+ - id: api-qa-v2-yunmp
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/yunmp
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ setHeaders: [ 'pl-terminal', '18' ]
|
|
|
+
|
|
|
+ - id: api-qa-v2-nfyybyfy
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy
|
|
|
+ filters:
|
|
|
+ - StripPrefix=2
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ setHeaders: [ 'pl-terminal', '20' ]
|
|
|
+
|
|
|
+ - id: api-qa-v2-nfyybyfy-taihe-user-sync-med-cards
|
|
|
+ uri: ''
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/nfyybyfy/taihe/user/syncMedCards
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ setHeaders: [ 'pl-terminal', '20' ]
|
|
|
+
|
|
|
+ - 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-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-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-alipaymp-nfyybyfy
|
|
|
+ uri: ${servers-mapping.alipay-mp-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.api-qa}
|
|
|
+ - Path=/v2/alipaymp/nfyybyfy
|
|
|
+ filters:
|
|
|
+ - StripPrefix=3
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ 'pl-terminal', '24' ]
|
|
|
+
|
|
|
+ - 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ 'pl-terminal', '26' ]
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - 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-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}
|
|
|
+
|
|
|
+
|
|
|
+ # cloudfilm-qa
|
|
|
+ - id: cloudfilm-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.cloudfilm-qa}
|
|
|
+ - Path=/
|
|
|
+
|
|
|
+ # doc-qa
|
|
|
+ - id: doc-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-doctor-pc-app}
|
|
|
+ setHeaders: [ 'pl-terminal', '15' ]
|
|
|
+
|
|
|
+ - id: doc-qa-user-login
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.doc-qa}
|
|
|
+ - Path=/user/login
|
|
|
+
|
|
|
+ - 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-doctor-pc-app}
|
|
|
+ setHeaders: [ 'pl-terminal', '15' ]
|
|
|
+
|
|
|
+ - 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-doctor-pc-app}
|
|
|
+ authResponse401: true
|
|
|
+ setHeaders: [ 'pl-terminal', '15' ]
|
|
|
+
|
|
|
+ # 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
|
|
|
+ uri: ${lb-servers.glasses-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.glasses-qa}
|
|
|
+ - Path=/
|
|
|
+ filters:
|
|
|
+ - 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}
|
|
|
+
|
|
|
+
|
|
|
+ # m-qa
|
|
|
+ - id: INTERNET-HOSP-WEB-TEST
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Path=/taihe/user/checkCardNo
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ authResponse401: true
|
|
|
+ #设置需要刷新的授权,当 auth 不为空,以 auth 的配置为主
|
|
|
+ refreshAuth: ''
|
|
|
+ setHeaders: [ ]
|
|
|
+ # 太和公众号 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/taihe/register,/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.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfth-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '8' ]
|
|
|
+ # 其他转发到互联网业务
|
|
|
+ - 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
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfthwe
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ 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
|
|
|
+ # 太和公众号 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-wechat-nfywt-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '2' ]
|
|
|
+ - id: m-qa-api-auth-wechat
|
|
|
+ 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-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
|
|
|
+ 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-api-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
|
|
|
+
|
|
|
+ # 医生端 我的工作站 公众号 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
|
|
|
+
|
|
|
+ - id: m-qa-drapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/drapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-doc-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '7' ]
|
|
|
+ - id: m-qa-drapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/drapi
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-doc-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '7' ]
|
|
|
+ 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}
|
|
|
+ # 医生端 我的工作站 公众号 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
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-thnetdoc-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '13' ]
|
|
|
+ - id: m-qa-thnetdocapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocapi
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-thnetdoc-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '13' ]
|
|
|
+ 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}
|
|
|
+ # 医生端 南方医院太和互联网医院医生版 公众号 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
|
|
|
+
|
|
|
+ - id: m-qa-nfyybyfydocapi-auth-wechat
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '22' ]
|
|
|
+ - id: m-qa-nfyybyfydocapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfydocapi
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '22' ]
|
|
|
+ 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}
|
|
|
+ # 医生端 南方医院太和互联网医院医生版 公众号 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
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ setHeaders: [ '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.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/gdywtweapi/auth/wechat/base
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-gdywt-mp-base}
|
|
|
+ setHeaders: [ 'pl-terminal', '14' ]
|
|
|
+
|
|
|
+ - 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}
|
|
|
+ # 【广东医务通】公众号 end
|
|
|
+
|
|
|
+ # 【医务通互联网医院】公众号 start
|
|
|
+ - id: m-qa-thnetpatientweapi-auth-wechat
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetpatientweapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-thnetpatientwe-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '12' ]
|
|
|
+
|
|
|
+ - id: m-qa-thnetpatientweapi
|
|
|
+ uri: ${lb-servers.outpatient-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetpatientweapi
|
|
|
+
|
|
|
+ - id: m-qa-thnetpatientwe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetpatientwe
|
|
|
+
|
|
|
+ # 【医务通互联网医院】公众号 end
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocmp
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocmp
|
|
|
+
|
|
|
+ - id: m-qa-thnetdocexapi
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/thnetdocexapi
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ setHeaders: [ 'pl-terminal', '13' ]
|
|
|
+
|
|
|
+ - id: m-qa-marketingapi-auth-wechat
|
|
|
+ uri: ${servers-mapping.marketing-api}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapi/auth/wechat
|
|
|
+ filters:
|
|
|
+ - StripPrefix=1
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ refreshAuth: ${auths-name.ywt-wechat-druggistwe-mp}
|
|
|
+ setHeaders: [ 'pl-terminal', '9' ]
|
|
|
+
|
|
|
+ - 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}
|
|
|
+
|
|
|
+ - 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-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-nfyybyfywe
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfywe
|
|
|
+ -
|
|
|
+ - id: m-qa-nfyybyfywe-notify
|
|
|
+ uri: ${lb-servers.ywt-platform-rest}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/nfyybyfywe/notify
|
|
|
+
|
|
|
+ - id: m-qa-marketingapi-commonAnnouncement
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.m-qa}
|
|
|
+ - Path=/marketingapi/commonAnnouncement/getCommonAnnouncement
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # mg-qa
|
|
|
+ - id: INTERNET-HOSP-WEB-TEST2
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Path=/taihe/user/checkCardNo
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ authResponse401: true
|
|
|
+ #设置需要刷新的授权,当 auth 不为空,以 auth 的配置为主
|
|
|
+ refreshAuth: ''
|
|
|
+ setHeaders: [ ]
|
|
|
+ # 管理后台 start
|
|
|
+ # 登录页面
|
|
|
+ - id: mg-qa-m-sysconfig-user-login
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/m-sysconfig/user/login
|
|
|
+ # 登录接口
|
|
|
+ - 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:
|
|
|
+ # authResponse401: true
|
|
|
+ # auth: ${auths-name.ywt-mg}
|
|
|
+ timeout: 90
|
|
|
+ # 根目录
|
|
|
+ - id: mg-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.mg-qa}
|
|
|
+ - Path=/
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ authResponse401: true
|
|
|
+ auth: ${auths-name.ywt-mg}
|
|
|
+ # 营养餐接口
|
|
|
+ - 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-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
|
|
|
+ # 管理后台 end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # mgapi-qa
|
|
|
+ - id: INTERNET-HOSP-WEB-TEST2
|
|
|
+ uri: ${lb-servers.internethospital-web}
|
|
|
+ predicates:
|
|
|
+ - Path=/taihe/user/checkCardNo
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+ authResponse401: true
|
|
|
+ #设置需要刷新的授权,当 auth 不为空,以 auth 的配置为主
|
|
|
+ refreshAuth: ''
|
|
|
+ setHeaders: [ ]
|
|
|
+ # 后台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
|
|
|
+ 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}
|
|
|
+ # 下载服务下载
|
|
|
+ - 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.wt-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
|
|
|
+ # 后台api服务 end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # nutrimeal-qa
|
|
|
+ - id: nutrimeal-qa
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/
|
|
|
+ filters:
|
|
|
+ - name: Auth
|
|
|
+ args:
|
|
|
+ auth: ${auths-name.external-api}
|
|
|
+
|
|
|
+ - id: nutrimeal-qa-display
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
+ predicates:
|
|
|
+ - Host=${host-name.nutrimeal-qa}
|
|
|
+ - Path=/display
|
|
|
+ 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-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
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ # openapi-qa
|
|
|
+ - 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}
|
|
|
+
|
|
|
+
|
|
|
+ - 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}
|
|
|
+
|