refactor: 代码重构,移除 jjwt 的 JWT 库,使用 HuTool 工具实现 JWT 生成(默认jjwt库)、验证和解析。
This commit is contained in:
@@ -59,10 +59,10 @@ mybatis-plus:
|
||||
|
||||
# 认证配置
|
||||
jwt:
|
||||
# 签署密钥
|
||||
secret-key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||
# 密钥
|
||||
key: SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||
# token 过期时间(单位:秒)
|
||||
expiration: 7200
|
||||
ttl: 7200
|
||||
|
||||
oss:
|
||||
# OSS 类型 (目前支持aliyun、minio)
|
||||
|
||||
Reference in New Issue
Block a user