forked from kidgrow-microservices-platform

zhaoxiaohao
2020-06-29 31de20695ac5fc8562c5922fcbe8729ae4e146a1
kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -145,6 +145,24 @@
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
    reportcenter-server-routes:
      path: /reportcenter-server/**
      service-id: reportcenter-server
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
    demo-aspnet-server-routes:
      path: /demoaspnetserver/**
      service-id: demo-aspnet-server
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
    wechat-server-routes:
      path: /wechatserver/**
      service-id: wechat-server
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
  ssl-hostname-validation-enabled: false
@@ -187,9 +205,10 @@
      - /actuator/health
      - /actuator/info
      - /api-sms/smsChangLan/send
      - /api-user/syshospital/findAllByMap
      - /api-user/sysdictionaries/findAll
      - /api-user/sysdepartment/findListByHospitalId
      - /api-user/users/doctorUserReg
#      - /api-user/syshospital/findAllByMap
#      - /api-user/sysdictionaries/findAll
#      - /api-user/sysdepartment/findListByHospitalId
    # 忽略权限鉴定
    authority-ignores:
      - /*/authority/granted/me
@@ -212,9 +231,11 @@
        /login.html,
        /user/login,
        /api-sms/smsChangLan/send,
        /api-user/syshospital/findAllByMap,
        /api-user/sysdictionaries/findAll,
        /api-user/sysdepartment/findListByHospitalId
        /api-user/users/doctorUserReg,
        /api-file/files-upload
#        /api-user/syshospital/findAllByMap,
#        /api-user/sysdictionaries/findAll,
#        /api-user/sysdepartment/findListByHospitalId
    auth:
      #开启时间戳验证
      timestampenable: false