feat(auth): replace JWT with Sa-Token, add auth context and interceptor

This commit is contained in:
2026-07-07 14:52:18 +08:00
parent 14c2c3095b
commit f50a3fd0c9
6 changed files with 154 additions and 139 deletions

View File

@@ -57,6 +57,11 @@
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-crypto</artifactId>
</dependency>
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot3-starter</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>