sinake
2 天以前 31afc8ef795e1abe0c66cade76b0dc49692b1d1d
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -114,8 +114,8 @@
                .antMatchers("/swagger-ui.html").permitAll()
                .antMatchers("/swagger-resources/**").permitAll()
                .antMatchers("/webjars/**").permitAll()
               // .antMatchers("/*/api-docs").permitAll()
//                .antMatchers("/druid/**").anonymous()
                .antMatchers("/*/api-docs").permitAll()
                .antMatchers("/druid/**").anonymous()
                // 除上面外的所有请求全部需要鉴权认证
                .anyRequest().authenticated()
                .and()