orderNotice定时任务

This commit is contained in:
李子铭 2025-03-19 08:56:56 +08:00
parent 8a64a2b32e
commit 33a9f1516b
1 changed files with 3 additions and 2 deletions

View File

@ -195,6 +195,7 @@ func (p *OrderRepoImpl) Available(ctx context.Context, id uint64) error {
}). }).
Updates(model.Order{ Updates(model.Order{
Status: vo.OrderStatusSuccess.GetValue(), Status: vo.OrderStatusSuccess.GetValue(),
ReceiveSuccessTime: &now, // 领取成功时间重置
UpdateTime: &now, UpdateTime: &now,
}) })