|
@@ -0,0 +1,107 @@
|
|
|
+
|
|
|
+spring:
|
|
|
+ cloud:
|
|
|
+ gateway:
|
|
|
+ routes:
|
|
|
+ - 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
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|