From 7c7bd491416c53e2975b03e0e0e686bd9cecccff Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Fri, 1 Sep 2023 13:34:29 +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 f9357437..f813a1d2 100644 --- a/server/info/internal/logic/infologic.go +++ b/server/info/internal/logic/infologic.go @@ -131,7 +131,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r err = json.Unmarshal([]byte(info.QueryData), &querydata) if err != nil { logx.Error(err) - return resp.SetStatusWithMessage(basic.CodeApiErr, err.Error()) + return resp.SetStatusWithMessage(basic.CodeApiErr, err.Error()+":"+info.QueryData) } for k, v := range querydata {