req 副本
This commit is contained in:
parent
1dc83a8c23
commit
e5e73e70b5
|
|
@ -164,6 +164,12 @@ func (v *VoucherBiz) orderNotice(ctx context.Context, order *bo.OrderBo, notifyN
|
||||||
return fmt.Errorf("订单对象为 nil")
|
return fmt.Errorf("订单对象为 nil")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
defer func() {
|
||||||
|
if err := recover(); err != nil {
|
||||||
|
respErr = fmt.Errorf("panic,err:%v", err)
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
return v.notice(ctx, order, notifyNum)
|
return v.notice(ctx, order, notifyNum)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue