req 副本

This commit is contained in:
ziming 2025-06-17 09:23:51 +08:00
parent 1dc83a8c23
commit e5e73e70b5
1 changed files with 6 additions and 0 deletions

View File

@ -164,6 +164,12 @@ func (v *VoucherBiz) orderNotice(ctx context.Context, order *bo.OrderBo, notifyN
return fmt.Errorf("订单对象为 nil")
}
defer func() {
if err := recover(); err != nil {
respErr = fmt.Errorf("panic,err:%v", err)
}
}()
return v.notice(ctx, order, notifyNum)
}