docs: 补充token有效期注释

This commit is contained in:
Ray.Hao
2025-03-01 00:15:26 +08:00
parent 300c35a2ba
commit 586aeaa16b
2 changed files with 4 additions and 4 deletions

View File

@@ -78,9 +78,9 @@ security:
jwt:
# JWT 秘钥
key: SecretKey012345678901234567890123456789012345678901234567890123456789
# 访问令牌 有效期(单位:秒),默认 1 小时
# 访问令牌 有效期(单位:秒),默认 1 小时-1 表示永不过期
access-token-time-to-live: 3600
# 刷新令牌有效期(单位:秒),默认 7 天
# 刷新令牌有效期(单位:秒),默认 7 天-1 表示永不过期
refresh-token-time-to-live: 604800
# 无需认证的请求路径
ignore-urls:

View File

@@ -76,9 +76,9 @@ security:
jwt:
# JWT 秘钥
key: SecretKey012345678901234567890123456789012345678901234567890123456789
# 访问令牌 有效期(单位:秒),默认 1 小时
# 访问令牌 有效期(单位:秒),默认 1 小时-1 表示永不过期
access-token-time-to-live: 3600
# 刷新令牌有效期(单位:秒),默认 7 天
# 刷新令牌有效期(单位:秒),默认 7 天-1 表示永不过期
refresh-token-time-to-live: 604800
# 无需认证的请求路径
ignore-urls: