|
@@ -18,7 +18,7 @@ spring:
|
|
|
# 管理后台 start
|
|
|
# 登录页面
|
|
|
- id: mg-qa-m-sysconfig-user-login
|
|
|
- uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ uri: ${servers-mapping.web-static}
|
|
|
predicates:
|
|
|
- Host=${host-name.mg-qa}
|
|
|
- Path=/m-sysconfig/user/login
|
|
@@ -59,10 +59,50 @@ spring:
|
|
|
timeout: 90
|
|
|
# 根目录
|
|
|
- id: mg-qa
|
|
|
- uri: ${lb-servers.ywt-mgcenter-web}
|
|
|
+ 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}
|
|
|
# 管理后台 end
|
|
|
|
|
|
|