From d5de392d81d5fdb70619ce220190c1f86198ccc8 Mon Sep 17 00:00:00 2001 From: zlt Date: Tue, 5 Mar 2019 15:23:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=80=BB=E4=BD=93=E6=9E=B6=E6=9E=84=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- .../central/gateway/monitor/config/SecuritySecureConfig.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5787401..55353c96 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@   -## 2. 总体服务拓扑图 +## 2. 项目总体架构图 -![](https://gitee.com/zlt2000/images/raw/master/服务拓扑图.png) +![](https://gitee.com/zlt2000/images/raw/master/spring cloud 微服务架构图.jpg)   diff --git a/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java b/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java index 844857de..f178536d 100644 --- a/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java +++ b/zlt-monitor/sc-admin/src/main/java/com/central/gateway/monitor/config/SecuritySecureConfig.java @@ -22,6 +22,7 @@ public class SecuritySecureConfig extends WebSecurityConfigurerAdapter { protected void configure(HttpSecurity http) throws Exception { SavedRequestAwareAuthenticationSuccessHandler successHandler = new SavedRequestAwareAuthenticationSuccessHandler(); successHandler.setTargetUrlParameter("redirectTo"); + successHandler.setDefaultTargetUrl(adminContextPath + "/"); http.authorizeRequests() .antMatchers(adminContextPath + "/assets/**").permitAll()