From dd8c05b344113ed589f4b38a4ec22d978de326cb Mon Sep 17 00:00:00 2001 From: ayflying Date: Wed, 27 Aug 2025 09:57:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8C=81=E4=B9=85=E5=8C=96ac?= =?UTF-8?q?t=E6=9B=B4=E6=96=B0=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/gameAct/gameAct.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/logic/gameAct/gameAct.go b/internal/logic/gameAct/gameAct.go index 73c9663..ac1dc3f 100644 --- a/internal/logic/gameAct/gameAct.go +++ b/internal/logic/gameAct/gameAct.go @@ -213,9 +213,8 @@ func (s *sGameAct) Save(ctx context.Context, actId int) (err error) { for _, v := range update { v.UpdatedAt = gtime.Now() _, err2 := g.Model(Name).Where(do.GameAct{ - Uid: v.Uid, - ActId: v.ActId, - UpdatedAt: v.UpdatedAt, + Uid: v.Uid, + ActId: v.ActId, }).Data(v).Update() if err2 != nil { g.Log().Error(ctx, err2)