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)) }