refactor: 代码重构,移除 jjwt 的 JWT 库,使用 HuTool 工具实现 JWT 生成(默认jjwt库)、验证和解析。

This commit is contained in:
hxr committed 2024-01-20 23:19:02 +08:00
1 parent b1a4bb7109
commit 9403479af7
39 files changed
+254 -315

No files matched your search

+3 -3
View File
@@ -59,10 +59,10 @@ mybatis-plus:
# 认证配置
jwt:
# 签署密钥
secret-key: SecretKey012345678901234567890123456789012345678901234567890123456789
# 密钥
key: SecretKey012345678901234567890123456789012345678901234567890123456789
# token 过期时间(单位:秒)
expiration: 7200
ttl: 7200
oss:
# OSS 类型 (目前支持aliyun、minio)