diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index 3791a9c..ddb83fa 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -137,6 +137,10 @@ public class SecurityConfig .antMatchers("/board/index2").permitAll() .antMatchers("/board/index1").permitAll() .antMatchers("/board/index").permitAll() + .antMatchers("/board/index3").permitAll() + + // 允许匿名访问 字典类型 + .antMatchers("/system/dict/data/type/**").permitAll() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated();