forked from kidgrow-microservices-platform

zhaoxiaohao
2020-06-28 db73ec37a46a209d8580951e663468dba2dec995
kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -97,6 +97,18 @@
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
    record-bicenter:
      path: /api-bicenter/**
      service-id: bicenter-server
      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
@@ -130,6 +142,18 @@
    client-service-routes:
      path: /clienttest/**
      service-id: client-service
      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
    wx-server:
      path: /wechat-server/**
      service-id: wechat-server
      strip-prefix: true
      sensitive-headers: '*'
      custom-sensitive-headers: true
@@ -174,6 +198,11 @@
      - /*/oauth/**
      - /actuator/health
      - /actuator/info
      - /api-sms/smsChangLan/send
      - /api-user/users/doctorUserReg
#      - /api-user/syshospital/findAllByMap
#      - /api-user/sysdictionaries/findAll
#      - /api-user/sysdepartment/findListByHospitalId
    # 忽略权限鉴定
    authority-ignores:
      - /*/authority/granted/me
@@ -194,7 +223,13 @@
        /api-uaa/js/**,
        /api-user/users-anon/**,
        /login.html,
        /user/login
        /user/login,
        /api-sms/smsChangLan/send,
        /api-user/users/doctorUserReg,
        /api-file/files-upload
#        /api-user/syshospital/findAllByMap,
#        /api-user/sysdictionaries/findAll,
#        /api-user/sysdepartment/findListByHospitalId
    auth:
      #开启时间戳验证
      timestampenable: false