daiyihua 1 рік тому
батько
коміт
ac1c91b2b1

+ 3 - 3
config_filters/filters-dev.properties

@@ -1,6 +1,6 @@
 nacos.address=192.168.3.206:8848
 nacos.group=
-nacos.namespace=158d2091-d8d8-4ef5-81f0-497747cf95a5
-nacos.username=
-nacos.password=
+nacos.namespace=206rest
+nacos.username=application
+nacos.password=application
 

+ 424 - 0
src/main/resources/application-biz-prod.yml

@@ -0,0 +1,424 @@
+# 公共变量
+servers-mapping:
+  web-static: http://120.77.174.122:9998
+  marketing-api: http://172.18.226.68:11320
+  alipay-mp-api: http://120.77.174.122:8097
+  external-api-service: http://120.77.174.122:7777
+  dong-hua-rest-service: http://120.77.174.122:7668
+  nfyybyfy-rest-service: http://120.77.174.122:7670
+  wx-ins-pay-rest-service: http://120.77.174.122:7669
+  his-esb-api-service: http://120.77.174.122:13900
+  no-rest: http://127.0.0.1:${server.port}
+
+headers-key:
+  pl-terminal: pl-terminal
+  ttoken: ttoken
+
+lb-servers:
+  internethospital-web: lb://internethospital-web
+  outpatient-web: lb://outpatient-web
+  ywt-platform-rest: lb://ywt-platform-rest
+  ywt-mgcenter-web: lb://com.ywt.MgCenterApiService
+  prescription-web: lb://prescription-web
+  nutrimeal-rest: lb://ywt-nutrimeal-rest
+  glasses-web: lb://glasses-front-service
+  download-service-api-service: lb://com.ywt.DownloadServiceApiService
+  ywt-pay-web: lb://pay-web
+
+host-name:
+  m-qa: m-qa-new.ywtinfo.com
+  api-qa: api-qa-new.ywtinfo.com
+  mg-qa: mg-qa-new.ywtinfo.com
+  openapi-qa: openapi-qa-new.ywtinfo.com
+  doc-qa: doc-qa-new.ywtinfo.com
+  nutrimeal-qa: nutrimeal-qa-new.ywtinfo.com
+  cloudfilm-qa: cloudfilm-qa-new.ywtinfo.com
+  glasses-qa: glasses-qa-new.ywtinfo.com
+  mgapi-qa: mgapi-qa-new.ywtinfo.com
+  pay-qa: pay-qa.ywtinfo.com
+
+auths-name:
+  nfth-qt: 'nfth-qt'
+  ywt-wechat-health-mp: 'ywt-wechat-health-mp'
+  ywt-wechat-doc-mp: 'ywt-wechat-doc-mp'
+  ywt-wechat-thnetdoc-mp: 'ywt-wechat-thnetdoc-mp'
+  ywt-wechat-nfyybyfydoc-mp: 'ywt-wechat-nfyybyfydoc-mp'
+  external-api: 'external-api'
+  ywt-mg: 'ywt-mg'
+  ywt-mg-api: 'ywt-mg-api'
+  th-pc-wap: 'th-pc-wap'
+  ywt-mg-dg-pharmacy: 'ywt-mg-dg-pharmacy'
+  ywt-wechat-thnetpatientwe-mp: 'ywt-wechat-thnetpatientwe-mp'
+  ywt-wechat-gdywt-mp-base: 'ywt-wechat-gdywt-mp-base'
+  ywt-doctor-pc-app: 'ywt-doctor-pc-app'
+  ywt-wechat-nfywt-mp-base: 'ywt-wechat-nfywt-mp-base'
+  ywt-wechat-nfywt-mp-base-for-nfywtwe: 'ywt-wechat-nfywt-mp-base-for-nfywtwe'
+  ywt-wechat-nfywt-mp: 'ywt-wechat-nfywt-mp'
+  ywt-wechat-nfth-mp: 'ywt-wechat-nfth-mp'
+  ywt-wechat-druggistwe-mp: 'ywt-wechat-druggistwe-mp'
+  regulatory-api: 'regulatory-api'
+
+appids-name:
+  ywt-thnet-weapp: 'ywt-thnet-weapp'
+  ywt-nf-weapp: 'ywt-nf-weapp'
+  ywt-th-dg-client: 'ywt-th-dg-client'
+  taihe_hospital: 'taihe_hospital'
+  gk_druggist: 'gk_druggist'
+  tailhe_his: 'tailhe_his'
+  ywt-gs-app-client: 'ywt-gs-app-client'
+  ywt-thnetdoc-weapp: 'ywt-thnetdoc-weapp'
+  ywt-thnetdoc-weapp-internal-mp: 'ywt-thnetdoc-weapp-internal-mp'
+  ywt-nutrimeal-merchant-client: 'ywt-nutrimeal-merchant-client'
+  ywt: 'ywt'
+  ywt_auto_test: 'ywt_auto_test'
+  patient_app_android: 'patient_app_android'
+  patient_app_ios: 'patient_app_ios'
+  ywt-yunmp-weapp: 'ywt-yunmp-weapp'
+  ywt-common-push: 'ywt-common-push'
+  order-helper-weapp: 'order-helper-weapp'
+  nfyybyfy-optical-shop-order-helper-weapp: 'nfyybyfy-optical-shop-order-helper-weapp'
+  nfyybyfy-weapp: 'nfyybyfy-weapp'
+  by-regulatory-api: 'by-regulatory-api'
+  ywt-glasses-merchant-client: 'ywt-glasses-merchant-client'
+  ywt-by-open-nutrimeal151: 'ywt-by-open-nutrimeal151'
+  digital-weapp: 'digital-weapp'
+  ywt-common-push-taihe: 'ywt-common-push-taihe'
+  ywt-common-open-his-push: 'ywt-common-open-his-push'
+  cloudfilm: 'cloudfilm'
+
+
+# 从原网关拆分的配置
+biz:
+  # 配置接入方的appid
+  apps:
+    -
+      appid: ${appids-name.ywt-thnet-weapp}
+      appsecret: 'ywt123456789'
+      IPwhilelist: ['127.0.0.1']
+      params:
+        p1: 'pv1'
+        p2: 'pv2'
+    -
+      appid: ${appids-name.ywt-nf-weapp}
+      appsecret: 'ywt123456789'
+      # 可配置IP准入白名单,不配置此项则默认不限制
+      IPwhilelist: ['127.0.0.1']
+      # 当前appid下的特定参数
+      params:
+        terminal: '1'
+        p2: 'pv2'
+    -
+      appid: ${appids-name.ywt-th-dg-client}
+      appsecret: 'ywt123456789'
+      # 可配置IP准入白名单,不配置此项则默认不限制
+      IPwhilelist: ['127.0.0.1']
+      # 当前appid下的特定参数
+      params:
+        pharmacyId: '2'
+    -
+      appid: ${appids-name.taihe_hospital}
+      appsecret: 'taihe_hospital1'
+    -
+      appid: ${appids-name.gk_druggist}
+      appsecret: 'gwjFVU79TvRGyMVWIZF9'
+      checksum: true
+    -
+      appid: ${appids-name.tailhe_his}
+      appsecret: '9NB9Iz6DjPQISAExFHrtZCG2QcRAgeMq'
+      checksum: true
+    -
+      appid: ${appids-name.ywt-gs-app-client}
+      appsecret: 'ywt123456789bb'
+      # 当前appid下的特定参数
+      params:
+        pharmacyId: '1'
+    -
+      appid: ${appids-name.ywt-thnetdoc-weapp}
+      appsecret: 'ywt12345678901'
+      IPwhilelist: ['127.0.0.1']
+      params:
+        terminal: '16'
+    -
+      appid: ${appids-name.ywt-thnetdoc-weapp-internal-mp}
+      appsecret: 'ywt12345678901'
+      IPwhilelist: ['127.0.0.1']
+      params:
+        terminal: '17'
+    -
+      appid: ${appids-name.ywt-nutrimeal-merchant-client}
+      appsecret: 'ywt1234567891110'
+    -
+      appid: ${appids-name.ywt}
+      appsecret: 'ywt123456789'
+      checksum: true
+    -
+      appid: ${appids-name.ywt_auto_test}
+      appsecret: 'ywt1234567890'
+    -
+      appid: ${appids-name.patient_app_android}
+      appsecret: 'patient_app_123456'
+      checksum: true
+      params:
+        terminal: '5'
+    -
+      appid: ${appids-name.patient_app_ios}
+      appsecret: 'patient_app_123456'
+      checksum: true
+      params:
+        terminal: '6'
+    -
+      appid: ${appids-name.ywt-yunmp-weapp}
+      appsecret: 'ywt123456789'
+      params:
+        terminal: '18'
+    -
+      appid: ${appids-name.ywt-common-push}
+      appsecret: 'ywt-common-push-Ux8$6x0Dz1l'
+    -
+      appid: ${appids-name.cloudfilm}
+      appsecret: 'cloudfilm123987'
+    -
+      # 下单服务助手小程序(太和耗材业务)
+      appid: ${appids-name.order-helper-weapp}
+      appsecret: 'ywt123456789'
+      params:
+        terminal: '19'
+    -
+      appid: ${appids-name.nfyybyfy-optical-shop-order-helper-weapp}
+      appsecret: 'ywt123456789'
+      params:
+        terminal: '23'
+    -
+      # 南方医院白云分院小程序
+      appid: ${appids-name.nfyybyfy-weapp}
+      appsecret: 'ywt123456789'
+      params:
+        terminal: '20'
+    -
+      # 互联网监管平台-白云
+      appid: ${appids-name.by-regulatory-api}
+      appsecret: 'ywtby123456789'
+      checksum: true
+    -
+      # 视光中心客户端
+      appid: ${appids-name.ywt-glasses-merchant-client}
+      appsecret: 'ywt123456789'
+    -
+      # 白云营养餐第三方商家
+      appid: ${appids-name.ywt-by-open-nutrimeal151}
+      appsecret: 'ywt11108054#'
+    -
+      # 专家工作室微信小程序
+      appid: ${appids-name.digital-weapp}
+      appsecret: 'ywt123456789'
+      params:
+        terminal: '26'
+    -
+      # taihe_his_push_api 太和、白云处方接入
+      appid: ${appids-name.ywt-common-open-his-push}
+      appsecret: 'ywt-common-open-his-push-Ux86x0Dz1l'
+
+  #配置授权
+  auths:
+    -
+      name: ${auths-name.nfth-qt}
+      type: 'web'
+      jwtSecret: 'ywt-mg-12132asddfdfddfd'
+      #取授权url
+      url: '/login'
+    -
+      name: ${auths-name.ywt-wechat-health-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12fdfdfd132asddfdfddfdfdfbbbbccc'
+      weappid: 'wxa2b491f5d785f28e'
+      scope: 'snsapi_userinfo'
+      url: '/health/auth/wechat'
+      params:
+        terminal: '9'
+    -
+      #(医生端)「我的工作站」授权
+      name: ${auths-name.ywt-wechat-doc-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12132asddfdfdfdaaaaeeed'
+      weappid: 'wxae1855bde312863d'
+      scope: 'snsapi_userinfo'
+      #取授权url
+      url: '/drapi/auth/wechat'
+      params:
+        p1: 'pv1'
+        p2: 'pv2'
+    -
+      #(医生端)「南方医院太和互联网医院医生版」授权
+      name: ${auths-name.ywt-wechat-thnetdoc-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12132asddfdfddfdfdf'
+      weappid: 'wxc0ef627ab7f71c0c'
+      scope: 'snsapi_userinfo'
+      #取授权url
+      url: '/thnetdocapi/auth/wechat'
+      maxAge: 7200
+    -
+      #「南方医务通」静默授权
+      name: ${auths-name.ywt-wechat-nfywt-mp-base}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12132asddfdfddfdfdf'
+      weappid: 'wx8e761e21fb5b1223'
+      scope: 'snsapi_base'
+      #取授权url
+      url: '/thnetdocapi/auth/wechat/base'
+    -
+      #「南方医务通」授权
+      name: ${auths-name.ywt-wechat-nfywt-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12132asddfdfddfdfdfbbbb'
+      weappid: 'wx8e761e21fb5b1223'
+      scope: 'snsapi_userinfo'
+      url: '/api/auth/wechat'
+    -
+      #「南方医务通」静默授权 - 南方医务通H5站点用
+      name: ${auths-name.ywt-wechat-nfywt-mp-base-for-nfywtwe}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12132asddfdfddfdfdfbbbb'
+      weappid: 'wx8e761e21fb5b1223'
+      cookieName: 'nfywtwe_t'
+      scope: 'snsapi_base'
+      #取授权url
+      url: '/api/auth/wechat/base'
+    -
+      #白云分院医生版授权
+      name: ${auths-name.ywt-wechat-nfyybyfydoc-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-nfyybyfydoc-Rx$5#0'
+      weappid: 'wx19a114a69da9b121'
+      scope: 'snsapi_userinfo'
+      #取授权url
+      url: '/nfyybyfydocapi/auth/wechat'
+      params:
+        terminal: '22'
+    -
+      name: ${auths-name.external-api}
+      type: 'api'
+      appids: ['digital-weapp', 'ywt-thnet-weapp', 'ywt-nf-weapp', 'gk_druggist', 'tailhe_his', 'ywt-thnetdoc-weapp', 'ywt-thnetdoc-weapp-internal-mp', 'ywt_auto_test', 'ywt-nutrimeal-merchant-client', 'ywt-yunmp-weapp', 'order-helper-weapp', 'ywt-common-push', 'cloudfilm', 'nfyybyfy-weapp', 'by-regulatory-api', 'ywt-glasses-merchant-client', 'nfyybyfy-optical-shop-order-helper-weapp', 'ywt-by-open-nutrimeal151', 'ywt-common-open-his-push']
+    -
+      name: ${auths-name.ywt-mg}
+      type: 'web'
+      jwtSecret: 'ywt-mg-12132asddfdfddddd'
+      #取授权url
+      url: '/m-sysconfig/user/login'
+      # cookieDomain: 'ywtinfo.com'
+      params:
+        p1: 'pv1'
+        p2: 'pv2'
+    -
+      name: ${auths-name.ywt-mg-api}
+      type: 'api'
+      appids: ['ywt-th-dg-client', 'ywt-gs-app-client', 'ywt_auto_test']
+    -
+      name: ${auths-name.th-pc-wap}
+      type: 'api'
+      appids: [ 'ywt-th-dg-client', 'ywt-gs-app-client', 'ywt_auto_test' ]
+    -
+      name: ${auths-name.th-pc-wap}
+      type: 'web'
+      jwtSecret: 'th-pc-wap-12132asd'
+      #取授权url
+      url: '/login'
+    -
+      name: ${auths-name.ywt-mg-dg-pharmacy}
+      type: 'web'
+      jwtSecret: 'ywt-mg-12132asddfdfddfd'
+      #取授权url
+      url: '/user/login'
+    -
+      #(患者端)「南方医院太和互联网医院」授权
+      name: ${auths-name.ywt-wechat-thnetpatientwe-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12132asddfdfddfdfdf'
+      weappid: 'wx245b2192979beb49'
+      scope: 'snsapi_userinfo'
+      #取授权url
+      url: '/thnetpatientweapi/auth/wechat'
+      params:
+        terminal: '12'
+    -
+      #(患者端)「广东医务通」静默授权
+      name: ${auths-name.ywt-wechat-gdywt-mp-base}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mfdfp-12132asddfdfddfdfdf'
+      weappid: 'wx245b2192979beb49'
+      scope: 'snsapi_base'
+      #取授权url
+      url: '/gdywtweapi/auth/wechat/base'
+      params:
+        terminal: '14'
+    -
+      name: ${auths-name.ywt-doctor-pc-app}
+      type: 'web'
+      jwtSecret: 'ywt-mdfddf12132asddfdfddfdfdfbbb'
+      url: '/user/login'
+      params:
+        terminal: '15'
+    -
+      name: ${auths-name.ywt-wechat-nfth-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12fdfdfd132asddfdfddfdfdfbbbb'
+      weappid: 'wx6b877b0eb9b96801'
+      scope: 'snsapi_userinfo'
+      url: '/nfthapi/auth/wechat'
+      params:
+        terminal: '8'
+    -
+      name: ${auths-name.ywt-wechat-druggistwe-mp}
+      type: 'wechatmp'
+      jwtSecret: 'ywt-mg-12fdfdfd1dfd32asddfdfddfdfdfbbbb'
+      weappid: 'wxa2b491f5d785f28e'
+      scope: 'snsapi_userinfo'
+      url: '/marketingapi/auth/wechat'
+      params:
+        terminal: '9'
+    -
+      name: ${auths-name.regulatory-api}
+      type: 'api'
+      appids: ['by-regulatory-api']
+
+  upstreams:
+    -
+      name: 'nfth-qt-static'
+      groups: ['http://120.77.174.122:17000']
+    -
+      name: 'nfth-qt-api'
+      groups: ['http://120.77.174.122:17001']
+    -
+      name: 'ywt-web-api'
+      groups: ['http://120.77.174.122:8090']
+    -
+      name: 'ywt-rest-api'
+      groups: ['http://120.77.174.122:8003']
+    -
+      name: 'ywt-web-static-mp'
+      groups: ['http://120.77.174.122:7023']
+    -
+      name: 'ywt-mg-server'
+      groups: ['http://127.0.0.1:8067']
+    -
+      name: 'ywt-mg-static'
+      groups: ['http://127.0.0.1:7016']
+    -
+      name: 'ywt-mg-dg-server'
+      groups: ['http://127.0.0.1:8068']
+    -
+      name: 'ywt-go-api'
+      groups: ['http://127.0.0.1:8111']
+    -
+      name: 'ywt-n-rest-api'
+      groups: ['http://127.0.0.1:8003']
+    -
+      name: 'wjcat-be'
+      groups: ['http://127.0.0.1:8000']
+    -
+      name: 'ywt-n-rest-api-by'
+      groups: ['http://172.18.226.71:10003']
+
+
+
+

+ 1340 - 0
src/main/resources/application-routes-prod.yml

@@ -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=/**

+ 2 - 2
src/main/resources/application.yml

@@ -14,8 +14,8 @@ spring:
       discovery:
         server-addr: @nacos.address@
         namespace: @nacos.namespace@
-        username:
-        password:
+        username: @nacos.username@
+        password: @nacos.password@
         metadata: # 保证微服务5s内能快速响应上线线
           preserved.heart.beat.interval: 1000 # 该实例在客户端上报心跳的间隔时间,单位为毫秒,默认为5s
           preserved.heart.beat.timeout: 5000 # 该实例在不发送心跳后,从健康到不健康的时间,单位为毫秒,默认为15s