From 4300257195f655c8a8eb71f4c00e8f1136b825c5 Mon Sep 17 00:00:00 2001 From: Cold <16419454+cold502@user.noreply.gitee.com> Date: Wed, 3 Dec 2025 17:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=20utils=20,=20=20=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/utils.go b/utils/utils.go index 1e45148..78a176a 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -71,7 +71,7 @@ func GetUserInfo(ctx context.Context) (user do.User, err error) { Db: 1, })) - // 解析 token,不再忽略错误 + // 解析 token data, err := gft.ParseToken(g.RequestFromCtx(ctx)) if err != nil { return user, gerror.Wrap(err, "token 解析失败")