mock use
This commit is contained in:
parent
6fd65bcdd5
commit
2b10381a16
|
|
@ -30,12 +30,12 @@ func (v *VoucherBiz) WechatNotifyConsumer(ctx context.Context, tag string, req *
|
||||||
|
|
||||||
} else if req.PlainText.Status.IsUsed() {
|
} else if req.PlainText.Status.IsUsed() {
|
||||||
|
|
||||||
_ = v.wxToBBUse(ctx, order, req)
|
|
||||||
|
|
||||||
if err = v.used(ctx, order); err != nil {
|
if err = v.used(ctx, order); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_ = v.wxToBBUse(ctx, order, req)
|
||||||
|
|
||||||
return v.useLog(ctx, order, req)
|
return v.useLog(ctx, order, req)
|
||||||
|
|
||||||
} else if req.PlainText.Status.IsExpired() {
|
} else if req.PlainText.Status.IsExpired() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue