forked from kidgrow-microservices-platform

luliqiang
2020-06-15 1781a1990f0dab8377c07886ad7b3faade8fc403
kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -103,6 +103,12 @@
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
    sms:
      path: /api-sms/**
      service-id: sms-service-server
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
    log:
      path: /api-log/**
      service-id: logcenter-server
@@ -180,6 +186,10 @@
      - /*/oauth/**
      - /actuator/health
      - /actuator/info
      - /api-sms/smsChangLan/send
      - /api-user/syshospital/findAllByMap
      - /api-user/sysdictionaries/findAll
      - /api-user/sysdepartment/findListByHospitalId
    # 忽略权限鉴定
    authority-ignores:
      - /*/authority/granted/me
@@ -200,7 +210,11 @@
        /api-uaa/js/**,
        /api-user/users-anon/**,
        /login.html,
        /user/login
        /user/login,
        /api-sms/smsChangLan/send,
        /api-user/syshospital/findAllByMap,
        /api-user/sysdictionaries/findAll,
        /api-user/sysdepartment/findListByHospitalId
    auth:
      #开启时间戳验证
      timestampenable: false