feat: 添加订单推送功能异常处理

This commit is contained in:
mkm 2024-07-01 11:04:08 +08:00
parent 00f71306b5
commit b63ae912bb

View File

@ -879,6 +879,12 @@ class PayNotifyLogic extends BaseLogic
$village_uid = 0;
$brigade_uid = 0;
$user_ship = 0;
try{
Redis::send('order_wetcha_push_send', ['order' => $order]);
}catch(\Exception $e){
Log::error('订单推送失败:'.$e->getMessage());
// 异常处理代码,例如记录日志或发送通知等。
}
if ($off_activity == 1) {
//-----活动价结算更改
$financeLogic->order = $order;