From 5b16e50ef283a1ccdd6408ee2ccf41726f349923 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 24 Sep 2025 00:12:19 +0800
Subject: [PATCH] 1

---
 ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

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 222ba3f..99cdbfe 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
@@ -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();
             })

--
Gitblit v1.9.3