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(); })