From 31fccc6bb0259158f181333e9c578bb14c881c50 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 05 三月 2024 18:42: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