修正邮件发送
This commit is contained in:
@@ -20,9 +20,9 @@ class EmailMessage implements Consumer
|
|||||||
try {
|
try {
|
||||||
// 询单信息
|
// 询单信息
|
||||||
$inquiryLogService = new InquiryLogService();
|
$inquiryLogService = new InquiryLogService();
|
||||||
$data = $inquiryLogService->getContent($data['id']);
|
$content = $inquiryLogService->getContent($data['id']);
|
||||||
|
|
||||||
// MailSend::send($data['email'], '【XYH】新的客户线索', replaceTpl($data));
|
MailSend::send($data['email'], '【XYH】新的客户线索', replaceTpl($content));
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
throw $th;
|
throw $th;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class InquiryToCrm implements Consumer
|
|||||||
'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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user