From 1e8702393c23ed24ea63c69ccedfdfdadad445f8 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 2 Jan 2024 16:08:06 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=88=A4=E6=96=AD=E5=8F=AF?= =?UTF-8?q?=E4=B8=8B=E8=AE=A1=E5=88=92=E7=94=9F=E4=BA=A7BOM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/aucma/framework/config/SecurityConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aucma-framework/src/main/java/com/aucma/framework/config/SecurityConfig.java b/aucma-framework/src/main/java/com/aucma/framework/config/SecurityConfig.java index 2568ee9..06ceb89 100644 --- a/aucma-framework/src/main/java/com/aucma/framework/config/SecurityConfig.java +++ b/aucma-framework/src/main/java/com/aucma/framework/config/SecurityConfig.java @@ -124,8 +124,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter .antMatchers(HttpMethod.GET, "/system/dict/data/type/**").permitAll() .antMatchers(HttpMethod.GET, "/report/pdaRecord/getPdaRecord").permitAll() .antMatchers(HttpMethod.GET, "/report/repairMeasures/getRepairMeasures").permitAll() -// .antMatchers(HttpMethod.POST, "/**/**/**").permitAll() -// .antMatchers(HttpMethod.GET, "/**/**/**").permitAll() + .antMatchers(HttpMethod.POST, "/**/**/**").permitAll() + .antMatchers(HttpMethod.GET, "/**/**/**").permitAll() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated() .and()