This commit is contained in:
ziming 2025-05-21 14:54:51 +08:00
parent fee0786d68
commit 668cc3177e
1 changed files with 2 additions and 6 deletions

View File

@ -34,11 +34,7 @@ func (v *VoucherBiz) WechatNotifyConsumer(ctx context.Context, tag string, req *
return err
}
if err = v.useLog(ctx, order, req); err != nil {
return err
}
return v.wxToBBUse(ctx, order, req)
return v.useLog(ctx, order, req)
} else if req.PlainText.Status.IsExpired() {
@ -79,7 +75,7 @@ func (v *VoucherBiz) useLog(ctx context.Context, order *bo.OrderBo, req *bo.Wech
}
}
return nil
return v.wxToBBUse(ctx, order, req)
}
func (v *VoucherBiz) used(ctx context.Context, order *bo.OrderBo) error {