From f882070b224da0dce37b6b775474eabf7aa7d865 Mon Sep 17 00:00:00 2001 From: timerzz Date: Sun, 14 Apr 2024 14:32:48 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AEupdat?= =?UTF-8?q?ed=5Fat=E5=A4=B1=E8=B4=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/watcher/coach.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/watcher/coach.go b/pkg/watcher/coach.go index b61f207..fd95bad 100644 --- a/pkg/watcher/coach.go +++ b/pkg/watcher/coach.go @@ -136,7 +136,7 @@ func (c *CoachOutlet) getInventory() bool { "orderable": c.detail.Orderable, "allocation_reset_date": c.detail.AllocationResetDate, "watch": c.detail.Watch, - "updatedAt": time.Now(), + "updated_at": time.Now(), }).Error; err != nil { slog.Error(fmt.Sprintf("更新数据库失败:%v", err)) }