Finish Hotfix-1
This commit is contained in:
@@ -162,6 +162,8 @@ class InquiryLogService
|
|||||||
$data['r_time'] = time();
|
$data['r_time'] = time();
|
||||||
$data['t_time'] = time();
|
$data['t_time'] = time();
|
||||||
$data['status'] = 2;
|
$data['status'] = 2;
|
||||||
|
} else {
|
||||||
|
$data['recipient'] = 0;
|
||||||
}
|
}
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,21 +68,21 @@ class InquiryToCrm implements Consumer
|
|||||||
throw new BusinessException('同步失败~');
|
throw new BusinessException('同步失败~');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发送邮件消息
|
// // 发送邮件消息
|
||||||
if ($uinfo && $uinfo->email) {
|
// if ($uinfo && $uinfo->email) {
|
||||||
$options = [
|
// $options = [
|
||||||
'id' => $info->id,
|
// 'id' => $info->id,
|
||||||
'email' => $uinfo->email
|
// 'email' => $uinfo->email
|
||||||
];
|
// ];
|
||||||
// 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 = [
|
$wsdata = [
|
||||||
'sender_id' => 0,
|
'sender_id' => 0,
|
||||||
'sender_type' => 'system',
|
'sender_type' => 'system',
|
||||||
'title' => '有新的客户线索,SN:' . $info->order_no . ',请及时处理',
|
'title' => '有新的客户线索,' . $info->order_no . ',请及时处理',
|
||||||
'content' => '有新的客户线索,SN:' . $info->order_no . ',请及时处理',
|
'content' => '有新的客户线索,' . $info->order_no . ',请及时处理',
|
||||||
'scene' => 1,
|
'scene' => 1,
|
||||||
'recipient' => [$info->recipient]
|
'recipient' => [$info->recipient]
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user