增加后端版本展示

This commit is contained in:
2026-04-29 16:59:44 +08:00
parent 7fabad14f9
commit 4312c0c557
5 changed files with 88 additions and 7 deletions

View File

@@ -107,6 +107,9 @@ public class SecurityConfig {
.permitAll()
.antMatchers("/patientmanage/information/**")
.permitAll()
// 登录页展示用的系统版本信息,允许匿名访问
.antMatchers("/system/version")
.permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated();
})