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()