From ac834fa2993cc026bc976f9b56385596ff0d1cca Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Wed, 30 Aug 2023 10:52:18 +0800 Subject: [PATCH] fix --- utils/basic/request_parse.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/basic/request_parse.go b/utils/basic/request_parse.go index b1eac072..bff33b39 100644 --- a/utils/basic/request_parse.go +++ b/utils/basic/request_parse.go @@ -80,8 +80,8 @@ func ParseJwtToken(r *http.Request, svcCtx any) (*auth.UserInfo, error) { us, err := shared.GetUserState(info.UserId, gdb) if err != nil { - log.Println("error", info) - logx.Error(err) + // logx.Println("error", info) + logx.Error(err, ":", info) return nil, err } secret = us.PwdHash // 获取密码的hash做jwt, 便于重置密码的使用