This commit is contained in:
parent
837ec8223d
commit
c006128aa4
@ -136,6 +136,7 @@ func (c *CoachOutlet) getInventory() bool {
|
|||||||
"orderable": c.detail.Orderable,
|
"orderable": c.detail.Orderable,
|
||||||
"allocation_reset_date": c.detail.AllocationResetDate,
|
"allocation_reset_date": c.detail.AllocationResetDate,
|
||||||
"watch": c.detail.Watch,
|
"watch": c.detail.Watch,
|
||||||
|
"updatedAt": time.Now(),
|
||||||
}).Error; err != nil {
|
}).Error; err != nil {
|
||||||
slog.Error(fmt.Sprintf("更新数据库失败:%v", err))
|
slog.Error(fmt.Sprintf("更新数据库失败:%v", err))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user