From 4a8009e51b236c8de961b643c885543a680efe89 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Tue, 30 Jun 2020 16:30:32 +0800
Subject: [PATCH] 修改bug,,网关添加短信修改密码的端口

---
 kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 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 9ddc5fa..21c1f92 100644
--- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
+++ b/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
@@ -136,6 +142,24 @@
     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
+    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
@@ -180,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
@@ -200,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

--
Gitblit v1.8.0