mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update telegram
This commit is contained in:
parent
c90aa538bc
commit
0a32b0b085
@ -194,7 +194,7 @@ class TicketController extends Controller
|
|||||||
->where('telegram_id', '!=', NULL)
|
->where('telegram_id', '!=', NULL)
|
||||||
->get();
|
->get();
|
||||||
foreach ($users as $user) {
|
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);
|
SendTelegramJob::dispatch($user->telegram_id, $text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user