修正录单时未选择跟单人报错

This commit is contained in:
mzl
2025-08-22 19:12:55 +08:00
parent 5ec55cbcc8
commit 6a66b56171
2 changed files with 13 additions and 11 deletions
+11 -11
View File
@@ -68,21 +68,21 @@ class InquiryToCrm implements Consumer
throw new BusinessException('同步失败~');
}
// 发送邮件消息
if ($uinfo && $uinfo->email) {
$options = [
'id' => $info->id,
'email' => $uinfo->email
];
// Log::info('发送邮件消息:' . json_encode($options));
\Webman\RedisQueue\Redis::send('email-message', $options);
}
// // 发送邮件消息
// if ($uinfo && $uinfo->email) {
// $options = [
// 'id' => $info->id,
// 'email' => $uinfo->email
// ];
// // 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 . ',请及时处理',
'title' => '有新的客户线索,' . $info->order_no . ',请及时处理',
'content' => '有新的客户线索,' . $info->order_no . ',请及时处理',
'scene' => 1,
'recipient' => [$info->recipient]
];