From 7d223f589518bd7094ba44531437677c902af40a Mon Sep 17 00:00:00 2001
From: dd <gitluke@outlook.com>
Date: Tue, 04 Nov 2025 00:46:50 +0800
Subject: [PATCH] 1
---
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java | 11 +++++++++++
1 files changed, 11 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 511842b..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
@@ -115,6 +115,17 @@
// 静态资源,可匿名访问
.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