From fd4f112458cbb1ea0f3f1177b185c6271f864ad3 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 21 三月 2024 16:32:59 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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