1
zj
2025-09-20 02d6a517f7d4dac2d5271cefe421a628d838414b
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -116,6 +116,14 @@
                    .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
                    .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
                    .antMatchers("/im/api/**").permitAll()
                    .antMatchers("/im/user/**").permitAll()
                    .antMatchers("/im/group/**").permitAll()
                    .antMatchers("/system/basic/**").permitAll()
                    .antMatchers("/product/**").permitAll()
                    .antMatchers("/insurancePosition/**").permitAll()
                    .antMatchers("/MedicalInsuranceAccount/**").permitAll()
                    .antMatchers("/kyc/**").permitAll()
                    .antMatchers("/userPolicy/**").permitAll()
                    // 除上面外的所有请求全部需要鉴权认证
                    .anyRequest().authenticated();
            })