This commit is contained in:
parent
c006128aa4
commit
f882070b22
@ -136,7 +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(),
|
"updated_at": 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