This commit is contained in:
parent
fee0786d68
commit
668cc3177e
|
|
@ -34,11 +34,7 @@ func (v *VoucherBiz) WechatNotifyConsumer(ctx context.Context, tag string, req *
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = v.useLog(ctx, order, req); err != nil {
|
return v.useLog(ctx, order, req)
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return v.wxToBBUse(ctx, order, req)
|
|
||||||
|
|
||||||
} else if req.PlainText.Status.IsExpired() {
|
} 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 {
|
func (v *VoucherBiz) used(ctx context.Context, order *bo.OrderBo) error {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue