|
@@ -947,7 +947,7 @@ spring:
|
|
|
uri: ${lb-servers.nutrimeal-rest}
|
|
|
predicates:
|
|
|
- Host=${host-name.mg-qa}
|
|
|
- - Path=/nutrimeal
|
|
|
+ - Path=/nutrimeal/**
|
|
|
filters:
|
|
|
- StripPrefix=1
|
|
|
- name: Auth
|
|
@@ -970,7 +970,7 @@ spring:
|
|
|
uri: ${lb-servers.glasses-web}
|
|
|
predicates:
|
|
|
- Host=${host-name.mg-qa}
|
|
|
- - Path=/glasses
|
|
|
+ - Path=/glasses/**
|
|
|
filters:
|
|
|
- StripPrefix=1
|
|
|
- name: Auth
|
|
@@ -982,7 +982,7 @@ spring:
|
|
|
uri: ${lb-servers.download-service-api-service}
|
|
|
predicates:
|
|
|
- Host=${host-name.mg-qa}
|
|
|
- - Path=/downloadService
|
|
|
+ - Path=/downloadService/**
|
|
|
filters:
|
|
|
- StripPrefix=1
|
|
|
- name: Auth
|
|
@@ -1012,7 +1012,7 @@ spring:
|
|
|
uri: ${lb-servers.prescription-web}
|
|
|
predicates:
|
|
|
- Host=${host-name.mgapi-qa}
|
|
|
- - Path=/drug
|
|
|
+ - Path=/drug/**
|
|
|
filters:
|
|
|
- StripPrefix=1
|
|
|
- name: Auth
|
|
@@ -1034,17 +1034,6 @@ spring:
|
|
|
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}
|
|
@@ -1074,7 +1063,7 @@ spring:
|
|
|
uri: ${lb-servers.glasses-web}
|
|
|
predicates:
|
|
|
- Host=${host-name.mgapi-qa}
|
|
|
- - Path=/glasses
|
|
|
+ - Path=/glasses/**
|
|
|
filters:
|
|
|
- StripPrefix=1
|
|
|
# 下载服务
|
|
@@ -1082,7 +1071,7 @@ spring:
|
|
|
uri: ${lb-servers.download-service-api-service}
|
|
|
predicates:
|
|
|
- Host=${host-name.mgapi-qa}
|
|
|
- - Path=/downloadService
|
|
|
+ - Path=/downloadService/**
|
|
|
filters:
|
|
|
- StripPrefix=1
|
|
|
# 日志相关接口
|
|
@@ -1091,6 +1080,17 @@ spring:
|
|
|
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
|
|
|
|
|
|
|