测试询单分配消息

This commit is contained in:
mzl
2025-08-22 19:04:15 +08:00
parent 4ca2c7b197
commit df10c7c7d7
+11
View File
@@ -77,6 +77,17 @@ class InquiryToCrm implements Consumer
// Log::info('发送邮件消息:' . json_encode($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) {
throw $th;