调整询单与crm消息通知

This commit is contained in:
2025-08-25 16:03:34 +08:00
parent adc1d9658d
commit d6dae82157
+2 -2
View File
@@ -61,7 +61,7 @@ class InquiryToCrmNew implements Consumer
}
}
public function pushWs($title, $content, $recipient)
public function pushWs($title, $content, $recipient = [])
{
$wsdata = [
'sender_id' => 0,
@@ -148,7 +148,7 @@ class InquiryToCrmNew implements Consumer
$title = '[询单·公海] 新的客户线索【' . $info->order_no . '】发布';
$content = '[询单·公海] 新的客户线索【' . $info->order_no . '】发布';
$recipient = [$info->recipient];
$this->pushWs($title, $content, $recipient);
$this->pushWs($title, $content);
}
if ($info->status == 2) {