From d51278d73862decda74bac5bb3a0166a1b2f54c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Thu, 4 Jun 2026 14:06:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(security):=20=E6=9B=B4=E6=96=B0=20Security?= =?UTF-8?q?=20=E7=99=BD=E5=90=8D=E5=8D=95=E6=94=AF=E6=8C=81=20springdoc=20?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /swagger-ui.html, /swagger-resources/**, /webjars/**, /*/api-docs + /swagger-ui/**, /swagger-ui.html, /v3/api-docs/**, /druid/** --- .../src/main/java/com/core/framework/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhis-server-new/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java b/openhis-server-new/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java index ad2204ba0..85d9ebca0 100755 --- a/openhis-server-new/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java +++ b/openhis-server-new/core-framework/src/main/java/com/core/framework/config/SecurityConfig.java @@ -103,7 +103,7 @@ public class SecurityConfig { // 静态资源,可匿名访问 .antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**") .permitAll() - .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**") + .antMatchers("/swagger-ui/**", "/swagger-ui.html", "/v3/api-docs/**", "/druid/**") .permitAll() .antMatchers("/patientmanage/information/**") .permitAll()