feat(PayNotifyLogic): 修改订单推送逻辑,排除特定用户,优化订单处理流程
This commit is contained in:
parent
f33a4d4ae8
commit
e0b7f75fdc
@ -566,7 +566,9 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
$user_ship = 0;
|
$user_ship = 0;
|
||||||
$order['dealVipAmount'] = 0;
|
$order['dealVipAmount'] = 0;
|
||||||
try {
|
try {
|
||||||
Redis::send('order_wetcha_push_send', ['order' => $order]);
|
if($order['uid']!=1){
|
||||||
|
Redis::send('order_wetcha_push_send', ['order' => $order]);
|
||||||
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error('订单推送失败:' . $e->getMessage());
|
Log::error('订单推送失败:' . $e->getMessage());
|
||||||
// 异常处理代码,例如记录日志或发送通知等。
|
// 异常处理代码,例如记录日志或发送通知等。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user