From 9e0686fa9f6b66cb45114e62cfe8f3c75311886d Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Wed, 24 Jun 2020 19:10:22 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.2.240:7070/r/kidgrow-microservices-platform into dev
---
kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml | 47 +++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 43 insertions(+), 4 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 a55e0f0..97cee7a 100644
--- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
+++ b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml
@@ -1,6 +1,12 @@
spring:
application:
name: zuul-server
+ #配置Redis
+ redis:
+ host: ${spring.redis.host}
+ port: ${spring.redis.port}
+ password: ${spring.redis.password}
+ timeout: ${spring.redis.timeout}
server:
tomcat:
uri-encoding: UTF-8
@@ -85,6 +91,24 @@
strip-prefix: true
sensitive-headers: '*'
custom-sensitive-headers: true
+ record-center:
+ path: /api-record/**
+ service-id: recordcenter-server
+ 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
@@ -118,6 +142,12 @@
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
@@ -162,6 +192,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
@@ -182,7 +217,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
@@ -222,6 +263,4 @@
butler:
auto-generate-from-zuul-routes: true
generate-routes: user,file,log,codegenerator,auth
- apiDocsPath: v2/api-docs
-
-
+ apiDocsPath: v2/api-docs
\ No newline at end of file
--
Gitblit v1.8.0