mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +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)
|
||||
->get();
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user