refactor: SpringSecurity + JWT 认证鉴权重构
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user