feat(PayNotifyLogic): 修改订单推送逻辑,排除特定用户,优化订单处理流程

This commit is contained in:
mkm 2024-08-02 21:05:55 +08:00
parent f33a4d4ae8
commit e0b7f75fdc

View File

@ -566,7 +566,9 @@ class PayNotifyLogic extends BaseLogic
$user_ship = 0;
$order['dealVipAmount'] = 0;
try {
Redis::send('order_wetcha_push_send', ['order' => $order]);
if($order['uid']!=1){
Redis::send('order_wetcha_push_send', ['order' => $order]);
}
} catch (\Exception $e) {
Log::error('订单推送失败:' . $e->getMessage());
// 异常处理代码,例如记录日志或发送通知等。