docs: 添加 jwt 配置注释

This commit is contained in:
ray
2024-06-29 14:18:34 +08:00
parent fde69e1114
commit da36355cd9
2 changed files with 4 additions and 0 deletions

View File

@@ -62,7 +62,9 @@ mybatis-plus:
# 安全配置
security:
jwt:
# JWT 秘钥
key: SecretKey012345678901234567890123456789012345678901234567890123456789
# JWT 有效期(单位:秒)
ttl: 7200
ignore-urls:
- /v3/api-docs/**