增加双token

This commit is contained in:
ah--desktop
2025-10-14 22:28:51 +08:00
parent 664bab3482
commit 8d6447bb11
10 changed files with 243 additions and 23 deletions
@@ -30,7 +30,10 @@ spring:
# JWT配置
jwt:
secret: your-secret-key-here-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
expiration: 86400
# 访问令牌有效期:15分钟(900秒)
access-token-expiration: 900
# 刷新令牌有效期:7天(604800秒)
refresh-token-expiration: 604800
# mybatis-plus配置
mybatis-plus: