req 副本
This commit is contained in:
parent
17f3a0216f
commit
09a8ef9e39
|
|
@ -160,16 +160,16 @@ func (v *VoucherBiz) ExecuteNotice(ctx context.Context, req *bo.FindInBatchesUse
|
|||
|
||||
func (v *VoucherBiz) orderNotice(ctx context.Context, order *bo.OrderBo, notifyNum *int) (respErr error) {
|
||||
|
||||
if order == nil {
|
||||
return fmt.Errorf("订单对象为 nil")
|
||||
}
|
||||
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
respErr = fmt.Errorf("panic,err:%v", err)
|
||||
}
|
||||
}()
|
||||
|
||||
if order == nil {
|
||||
return fmt.Errorf("订单对象为 nil")
|
||||
}
|
||||
|
||||
return v.notice(ctx, order, notifyNum)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue