feat: 完善注销功能逻辑,通过黑名单的方式实现注销场景JWT失效控制

This commit is contained in:
haoxr
2023-03-25 14:25:29 +08:00
parent c19b27f1d9
commit c590fd7607
18 changed files with 160 additions and 101 deletions

View File

@@ -42,7 +42,7 @@ auth:
token:
secret_key: SecretKey012345678901234567890123456789012345678901234567890123456789
# token 有效期(单位:秒)
token_validity: 18000
ttl: 18000
# MinIO 分布式文件系统
minio:
@@ -65,6 +65,6 @@ springdoc:
# 验证码配置
easycaptcha:
verifyCodeType: arithmetic
enable: true
type: arithmetic
ttl: 120