From db73ec37a46a209d8580951e663468dba2dec995 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Sun, 28 Jun 2020 18:10:23 +0800
Subject: [PATCH] 添加 微信的网关 修改用户自己修改密码的bug

---
 kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 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..98a8a08 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,18 @@
       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
   ssl-hostname-validation-enabled: false
 
 
@@ -186,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
@@ -206,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

--
Gitblit v1.8.0