过期不做通知

This commit is contained in:
ziming 2025-06-05 13:46:55 +08:00
parent c556912b1b
commit d11ff47f0c
2 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,8 @@ func (v *VoucherBiz) expired(ctx context.Context, order *bo.OrderBo) error {
return err return err
} }
return v.notify(ctx, order) //return v.notify(ctx, order)
return nil // 过期不做通知
} }
func (v *VoucherBiz) notify(ctx context.Context, order *bo.OrderBo) error { func (v *VoucherBiz) notify(ctx context.Context, order *bo.OrderBo) error {

View File

@ -61,6 +61,8 @@ func (v *VoucherBiz) wechatQuery(ctx context.Context, order *bo.OrderBo) error {
if status.IsUse() { if status.IsUse() {
return v.used(ctx, order) return v.used(ctx, order)
} else if status.IsExpired() {
return v.expired(ctx, order)
} }
return nil return nil