修正邮件发送

This commit is contained in:
mzl
2025-08-04 15:30:28 +08:00
parent 9d6364ca93
commit be212317eb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ class EmailMessage implements Consumer
try {
// 询单信息
$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) {
throw $th;
}
+1 -1
View File
@@ -73,7 +73,7 @@ class InquiryToCrm implements Consumer
'id' => $info->id,
'email' => $uinfo->email
];
Log::info('发送邮件消息:' . json_encode($options));
// Log::info('发送邮件消息:' . json_encode($options));
\Webman\RedisQueue\Redis::send('email-message', $options);
}
}