From 5fb5605185db191834d2e98bc9f6e7bfa7af47c8 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期一, 25 三月 2024 18:10:09 +0800 Subject: [PATCH] 事前事后报备增加筛选条件 --- ycl-server/src/main/java/com/ycl/config/SecurityConfig.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/config/SecurityConfig.java b/ycl-server/src/main/java/com/ycl/config/SecurityConfig.java index 7005cfa..de57a5f 100644 --- a/ycl-server/src/main/java/com/ycl/config/SecurityConfig.java +++ b/ycl-server/src/main/java/com/ycl/config/SecurityConfig.java @@ -24,8 +24,6 @@ import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; import org.springframework.security.web.authentication.logout.LogoutFilter; -import org.springframework.web.cors.CorsConfiguration; -import org.springframework.web.cors.UrlBasedCorsConfigurationSource; import org.springframework.web.filter.CorsFilter; /** @@ -71,7 +69,7 @@ /** * 鍏佽鍖垮悕璁块棶鐨勫湴鍧� */ - @Autowired + @Resource private PermitAllUrlProperties permitAllUrl; @Bean -- Gitblit v1.8.0