From 9437600612eb0243a3371ff1e4fa3689cce8c83a Mon Sep 17 00:00:00 2001
From: dd <gitluke@outlook.com>
Date: Sat, 29 Nov 2025 22:40:41 +0800
Subject: [PATCH] 1
---
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java | 10 ++++++++++
1 files changed, 10 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..c97df92 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,16 @@
.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()
+ .antMatchers("/system/home/**").permitAll()
+ .antMatchers("/MedicalInsuranceAccount/list").permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated();
})
--
Gitblit v1.9.3