From b052754a3061f2a4a0e64c3f37572b8443de013c Mon Sep 17 00:00:00 2001 From: ayflying Date: Tue, 2 Sep 2025 15:12:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/gameAct/gameAct.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/logic/gameAct/gameAct.go b/internal/logic/gameAct/gameAct.go index 1b59956..479b56b 100644 --- a/internal/logic/gameAct/gameAct.go +++ b/internal/logic/gameAct/gameAct.go @@ -203,7 +203,7 @@ func (s *sGameAct) Save(ctx context.Context, actId int) (err error) { //批量写入数据库 updateCount := 0 - g.Log().Debugf(ctx, "当前 %v 要更新的数据: %v 条", actId, len(update)) + //g.Log().Debugf(ctx, "当前 %v 要更新的数据: %v 条", actId, len(update)) if len(update) > 100 { for _, v := range update { v.UpdatedAt = gtime.Now() @@ -231,7 +231,7 @@ func (s *sGameAct) Save(ctx context.Context, actId int) (err error) { } var count int64 - g.Log().Debugf(ctx, "当前 %v 要添加的数据: %v 条", actId, len(add)) + //g.Log().Debugf(ctx, "当前 %v 要添加的数据: %v 条", actId, len(add)) if len(add) > 100 { dbRes, err2 := g.Model(Name).Data(add).Save()