From 5d97b0934973737a903f45d1d89e095b2e255694 Mon Sep 17 00:00:00 2001
From: zxh <279049017@qq.com>
Date: Fri, 21 Aug 2020 10:12:36 +0800
Subject: [PATCH] 提交到Gitblit

---
 kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml |   66 ++++++++++++++++++++++++++++-----
 1 files changed, 56 insertions(+), 10 deletions(-)

diff --git a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
index 7e65e30..716d064 100644
--- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
+++ b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -23,6 +23,7 @@
     prefer-ip-address: true
   client:
     serviceUrl:
+#      defaultZone: http://192.168.2.240:9001/eureka/
       defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone}
 
 zuul:
@@ -145,6 +146,36 @@
       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
+    api-evaluation:
+      path: /api-evaluation/**
+      service-id: boneage-evaluationcenter-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
+    api-smartbox:
+      path: /api-smart/**
+      service-id: smartbox-server
+      strip-prefix: true
+      sensitive-headers: '*'
+      custom-sensitive-headers: true
   ssl-hostname-validation-enabled: false
 
 
@@ -186,10 +217,17 @@
       - /*/oauth/**
       - /actuator/health
       - /actuator/info
-      - /api-sms/smsChangLan/send
-      - /api-user/syshospital/findAllByMap
-      - /api-user/sysdictionaries/findAll
-      - /api-user/sysdepartment/findListByHospitalId
+      - /api-file/smsChangLan/send
+      - /api-user/users/doctorUserReg
+      - /api-user/users/isRegUser
+      - /api-user/users/passwordByPhone
+      - /api-evaluation/evaluationxrayinfo/appUpload
+      - /api-evaluation/evaluationxrayinfo/appSave
+      - /api-file/baseUplaod
+      - /api-user/users/python
+#      - /api-user/syshospital/findAllByMap
+#      - /api-user/sysdictionaries/findAll
+#      - /api-user/sysdepartment/findListByHospitalId
     # 忽略权限鉴定
     authority-ignores:
       - /*/authority/granted/me
@@ -211,10 +249,18 @@
         /api-user/users-anon/**,
         /login.html,
         /user/login,
-        /api-sms/smsChangLan/send,
-        /api-user/syshospital/findAllByMap,
-        /api-user/sysdictionaries/findAll,
-        /api-user/sysdepartment/findListByHospitalId
+        /api-file/smsChangLan/send,
+        /api-user/users/doctorUserReg,
+        /api-file/files-upload,
+        /api-user/users/isRegUser,
+        /api-user/users/passwordByPhone,
+        /api-evaluation/evaluationxrayinfo/appUpload,
+        /api-evaluation/evaluationxrayinfo/appSave,
+        /api-file/baseUplaod,
+        /api-user/users/python
+#        /api-user/syshospital/findAllByMap,
+#        /api-user/sysdictionaries/findAll,
+#        /api-user/sysdepartment/findListByHospitalId
     auth:
       #开启时间戳验证
       timestampenable: false
@@ -226,7 +272,7 @@
         /api-uaa/validata/**
       urlPermission:
         #是否开启url级别权限
-        enable: false
+        enable: true
         #配置只进行登录认证,不进行url权限认证的api
         ignoreUrls: >
           /api-user/menus/current,
@@ -239,7 +285,7 @@
           - kidgrow
       renew:
         #是否开启token自动续签(目前只有redis实现)
-        enable: false
+        enable: true
         #白名单
         includeClientIds:
           - webApp

--
Gitblit v1.8.0