feat: 个人中心发布

This commit is contained in:
Blizzard
2026-02-14 11:38:59 +08:00
parent f1d9f63296
commit 4820323381
35 changed files with 691 additions and 148 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package system
import (
"context"
"sundynix-go/global"
"sundynix-go/utils"
"sundynix-go/utils/timer"
)
type JwtService struct{}
@@ -12,7 +12,7 @@ var JwtServiceApp = new(JwtService)
// 登出,禁用jwt
func (s *JwtService) PutBlacklist(userId string, token string) (err error) {
expire, err := utils.ParseDuration(global.Config.JWT.ExpiresTime)
expire, err := timer.ParseDuration(global.Config.JWT.ExpiresTime)
if err != nil {
return err
}