update telegram

This commit is contained in:
Tokumeikoi 2020-05-25 16:04:21 +08:00
parent c90aa538bc
commit 0a32b0b085

View File

@ -194,7 +194,7 @@ class TicketController extends Controller
->where('telegram_id', '!=', NULL)
->get();
foreach ($users as $user) {
$text = "📮工单提醒\r\n主题:{$ticket->subject}\r\n内容:{$ticketMessage->message}";
$text = "📮工单提醒\r\n主题:\r\n`{$ticket->subject}`\r\n内容:\r\n`{$ticketMessage->message}`";
SendTelegramJob::dispatch($user->telegram_id, $text);
}
}