fix 修复设置updated_at失败的bug
All checks were successful
Build image / build (push) Successful in 6m38s

This commit is contained in:
timerzz 2024-04-14 14:32:48 +08:00
parent c006128aa4
commit f882070b22

View File

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