From c006128aa42a8aa7df3f7732a605113a8747e948 Mon Sep 17 00:00:00 2001 From: timerzz Date: Sun, 14 Apr 2024 14:15:08 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=9B=B4=E6=96=B0=E6=8A=93=E5=8F=96?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/watcher/coach.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/watcher/coach.go b/pkg/watcher/coach.go index a6caf28..b61f207 100644 --- a/pkg/watcher/coach.go +++ b/pkg/watcher/coach.go @@ -136,6 +136,7 @@ func (c *CoachOutlet) getInventory() bool { "orderable": c.detail.Orderable, "allocation_reset_date": c.detail.AllocationResetDate, "watch": c.detail.Watch, + "updatedAt": time.Now(), }).Error; err != nil { slog.Error(fmt.Sprintf("更新数据库失败:%v", err)) }