mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
update telegram
This commit is contained in:
parent
0a32b0b085
commit
bd1b339db8
@ -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主题:\r\n`{$ticket->subject}`\r\n内容:\r\n`{$ticketMessage->message}`";
|
$text = "📮工单提醒\n———————————————\n主题:\n`{$ticket->subject}`\n内容:\n`{$ticketMessage->message}`";
|
||||||
SendTelegramJob::dispatch($user->telegram_id, $text);
|
SendTelegramJob::dispatch($user->telegram_id, $text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user