This commit is contained in:
ziming 2025-05-27 16:04:46 +08:00
parent 2f7194c945
commit 6fd65bcdd5
1 changed files with 0 additions and 5 deletions

View File

@ -92,11 +92,6 @@ func (v *VoucherBiz) createUseLog(ctx context.Context, order *bo.OrderBo, req *b
func (v *VoucherBiz) used(ctx context.Context, order *bo.OrderBo) error {
if order.Status.IsUse() {
log.Warnf("券状态已是已使用,忽略不处理,orderNo:%s", order.OrderNo)
return nil
}
if err := v.OrderRepo.Used(ctx, order.ID); err != nil {
return err
}