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
|
||||
}
|
||||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue