From 970fa55a3f883a70faf2faf1504c266dc1cddb0c Mon Sep 17 00:00:00 2001
From: dougang <78125310@kidgrow.com>
Date: Sat, 04 Jul 2020 15:36:25 +0800
Subject: [PATCH] 二维码去白边

---
 kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml |   37 +++++++++++++++++++++++++++++++++++--
 1 files changed, 35 insertions(+), 2 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 828d993..1b4e921 100644
--- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
+++ b/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
 
 
@@ -186,6 +204,13 @@
       - /*/oauth/**
       - /actuator/health
       - /actuator/info
+      - /api-sms/smsChangLan/send
+      - /api-user/users/doctorUserReg
+      - /api-user/users/isRegUser
+      - /api-user/users/passwordByPhone
+#      - /api-user/syshospital/findAllByMap
+#      - /api-user/sysdictionaries/findAll
+#      - /api-user/sysdepartment/findListByHospitalId
     # 忽略权限鉴定
     authority-ignores:
       - /*/authority/granted/me
@@ -206,7 +231,15 @@
         /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/users/isRegUser,
+        /api-user/users/passwordByPhone
+#        /api-user/syshospital/findAllByMap,
+#        /api-user/sysdictionaries/findAll,
+#        /api-user/sysdepartment/findListByHospitalId
     auth:
       #开启时间戳验证
       timestampenable: false
@@ -231,7 +264,7 @@
           - kidgrow
       renew:
         #是否开启token自动续签(目前只有redis实现)
-        enable: false
+        enable: true
         #白名单
         includeClientIds:
           - webApp

--
Gitblit v1.8.0