mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 21:09:19 +08:00
增加双token
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user