From 8cc21c179753abac8033a951e2cafdb1cf27f495 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 1 Sep 2023 13:36:05 +0800 Subject: [PATCH] fix --- server/info/internal/logic/infologic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/info/internal/logic/infologic.go b/server/info/internal/logic/infologic.go index f813a1d2..794dcbae 100644 --- a/server/info/internal/logic/infologic.go +++ b/server/info/internal/logic/infologic.go @@ -130,7 +130,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r var querydata map[string]any = make(map[string]any) err = json.Unmarshal([]byte(info.QueryData), &querydata) if err != nil { - logx.Error(err) + logx.Error(err, info) return resp.SetStatusWithMessage(basic.CodeApiErr, err.Error()+":"+info.QueryData) }