调整询单与crm消息通知
This commit is contained in:
@@ -61,7 +61,7 @@ class InquiryToCrmNew implements Consumer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function pushWs($title, $content, $recipient)
|
public function pushWs($title, $content, $recipient = [])
|
||||||
{
|
{
|
||||||
$wsdata = [
|
$wsdata = [
|
||||||
'sender_id' => 0,
|
'sender_id' => 0,
|
||||||
@@ -148,7 +148,7 @@ class InquiryToCrmNew implements Consumer
|
|||||||
$title = '[询单·公海] 新的客户线索【' . $info->order_no . '】发布';
|
$title = '[询单·公海] 新的客户线索【' . $info->order_no . '】发布';
|
||||||
$content = '[询单·公海] 新的客户线索【' . $info->order_no . '】发布';
|
$content = '[询单·公海] 新的客户线索【' . $info->order_no . '】发布';
|
||||||
$recipient = [$info->recipient];
|
$recipient = [$info->recipient];
|
||||||
$this->pushWs($title, $content, $recipient);
|
$this->pushWs($title, $content);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($info->status == 2) {
|
if ($info->status == 2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user