ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -125,6 +125,7 @@ .antMatchers("/kyc/**").permitAll() .antMatchers("/userPolicy/**").permitAll() .antMatchers("/system/home/**").permitAll() .antMatchers("/MedicalInsuranceAccount/list").permitAll() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated(); })