refactor: SpringSecurity + JWT 认证鉴权重构

This commit is contained in:
haoxr
2023-09-13 18:27:15 +08:00
parent ae59e5251e
commit 3ff462305b
21 changed files with 160 additions and 214 deletions

View File

@@ -49,11 +49,11 @@ mybatis-plus:
# 认证配置
auth:
token:
secret_key: SecretKey012345678901234567890123456789012345678901234567890123456789
# token 有效期(单位:秒)
ttl: 18000
jwt:
# 签署密钥
secret-key: SecretKey012345678901234567890123456789012345678901234567890123456789
# token 过期时间(单位:秒)
expiration: 7200
oss:
# OSS 类型 (目前支持aliyun、minio)