refactor: 登录认证令牌生成重构

This commit is contained in:
haoxr
2024-11-15 18:21:48 +08:00
parent 12465dcd10
commit 2c42e47ae0
15 changed files with 417 additions and 211 deletions

View File

@@ -75,6 +75,8 @@ mybatis-plus:
# 安全配置
security:
# JWT 认证类型, 支持 jwt、redis-token
token-type: jwt
jwt:
# JWT 秘钥
key: SecretKey012345678901234567890123456789012345678901234567890123456789