From bd1b339db8d43d9cd27d4b4a0997ad8904c0809e Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Mon, 25 May 2020 16:18:37 +0800 Subject: [PATCH] update telegram --- app/Http/Controllers/User/TicketController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/User/TicketController.php b/app/Http/Controllers/User/TicketController.php index 53af8e0f..06780ac5 100644 --- a/app/Http/Controllers/User/TicketController.php +++ b/app/Http/Controllers/User/TicketController.php @@ -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); } }