From 0e395f67309201c88de80851d407510d4d85d693 Mon Sep 17 00:00:00 2001 From: jhc <9316338+wangyitao309@user.noreply.gitee.com> Date: Thu, 25 Jan 2024 11:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/err/common.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/err/common.go b/pkg/err/common.go index 0393461..c2bffd8 100644 --- a/pkg/err/common.go +++ b/pkg/err/common.go @@ -28,7 +28,6 @@ func NoReturnError(err error, print string) { } func NoReturnInfo(info interface{}, print string) { - field := zap.Field{} - field.String = fmt.Sprintf("%+v", info) + field := zap.Any("", info) app.ModuleClients.Lg.Info(print, field) }