From ed6853b251a1d3ad112917731222c923e81e36de Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Wed, 13 May 2020 09:53:26 +0800
Subject: [PATCH] 修改下拉框失败,隐藏的接口
---
kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml | 13 ++++++++++++-
1 files changed, 12 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 a55e0f0..e8b6bd5 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
@@ -82,6 +88,12 @@
file:
path: /api-file/**
service-id: filecenter-server
+ 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
@@ -223,5 +235,4 @@
auto-generate-from-zuul-routes: true
generate-routes: user,file,log,codegenerator,auth
apiDocsPath: v2/api-docs
-
--
Gitblit v1.8.0