|
@@ -95,10 +95,9 @@ class CityWarningNoticeJobs implements ShouldQueue
|
|
|
foreach ($email_notice_list as $email_notice) {
|
|
foreach ($email_notice_list as $email_notice) {
|
|
|
$message_data = [
|
|
$message_data = [
|
|
|
'email' => $email_notice['email'],
|
|
'email' => $email_notice['email'],
|
|
|
- 'title' => $email_titl,
|
|
|
|
|
- 'content' => $email_content,
|
|
|
|
|
|
|
+ 'email_content' => json_encode(['title' => $email_titl,'content' => $email_content]),
|
|
|
];
|
|
];
|
|
|
- SendEmailJobs::dispatch(['notice_data_info' => json_encode($message_data)]);
|
|
|
|
|
|
|
+ SendEmailJobs::dispatch(['notice_data_info' => $message_data]);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|