req 副本

This commit is contained in:
ziming 2025-06-17 09:29:59 +08:00
parent 17f3a0216f
commit 09a8ef9e39
1 changed files with 4 additions and 4 deletions

View File

@ -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)
}