Finish Hotfix-1
This commit is contained in:
@@ -77,6 +77,17 @@ class InquiryToCrm implements Consumer
|
|||||||
// Log::info('发送邮件消息:' . json_encode($options));
|
// Log::info('发送邮件消息:' . json_encode($options));
|
||||||
\Webman\RedisQueue\Redis::send('email-message', $options);
|
\Webman\RedisQueue\Redis::send('email-message', $options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$wsdata = [
|
||||||
|
'sender_id' => 0,
|
||||||
|
'sender_type' => 'system',
|
||||||
|
'title' => '有新的客户线索,SN:' . $info->order_no . ',请及时处理',
|
||||||
|
'content' => '有新的客户线索,SN:' . $info->order_no . ',请及时处理',
|
||||||
|
'scene' => 1,
|
||||||
|
'recipient' => [$info->recipient]
|
||||||
|
];
|
||||||
|
// 异步推送
|
||||||
|
\Webman\RedisQueue\Redis::send('notice', $wsdata);
|
||||||
}
|
}
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
throw $th;
|
throw $th;
|
||||||
|
|||||||
Reference in New Issue
Block a user