From ca71833c9eae2d13957c8305161bcfd3b6a59ecd Mon Sep 17 00:00:00 2001 From: david082321 <7046617+david082321@users.noreply.github.com> Date: Wed, 6 Jul 2022 15:46:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=B8=8A=20TG=20bot=20=E5=BC=80?= =?UTF-8?q?=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/functions.php b/utils/functions.php index ed366e7..e78465a 100644 --- a/utils/functions.php +++ b/utils/functions.php @@ -160,7 +160,7 @@ function check_412($output,$get_area) { } } try { - file_get_contents(TG_BOT_API.'/'.TG_BOT_KEY.'/sendMessage?chat_id='.TG_CHAT_ID.'&text='.$msg); + file_get_contents(TG_BOT_API.'/bot'.TG_BOT_KEY.'/sendMessage?chat_id='.TG_CHAT_ID.'&text='.$msg); } catch (Exception $e) { // 不做任何事 }