From cab9537c7eedb925fff433b16796f75ea43785e1 Mon Sep 17 00:00:00 2001 From: chenqi Date: Fri, 19 Jun 2026 23:34:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(security):=20=E5=B0=86=E7=A7=9F=E6=88=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3=E5=8A=A0=E5=85=A5=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E7=99=BD=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/core/framework/config/SecurityConfig.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/healthlink-his-server/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java b/healthlink-his-server/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java index 764fa872d..214086272 100755 --- a/healthlink-his-server/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java +++ b/healthlink-his-server/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java @@ -106,9 +106,12 @@ public class SecurityConfig { .permitAll() .requestMatchers("/patientmanage/information/**") .permitAll() - // 登录页展示用的系统版本信息,允许匿名访问 - .requestMatchers("/system/version") - .permitAll() + // 登录页展示用的系统版本信息,允许匿名访问 + .requestMatchers("/system/version") + .permitAll() + // 登录页租户列表,允许匿名访问 + .requestMatchers("/system/tenant/all-active") + .permitAll() // 除上面外的所有请求全部需要鉴权认证 .anyRequest().authenticated(); })