no message

This commit is contained in:
hellcat committed 2025-03-20 22:29:35 +08:00
1 parent ab8a2c2d8d
commit 5c7fc5d44f
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -22,10 +22,10 @@ final class HookController
public function cmd()
{
$this->sApiToken = Config::obtain('telegram_token');
$this->sApiChatId = Config::obtain('telegram_chatid')
$this->sApiChatId = Config::obtain('telegram_chatid');
// 获取更新
//$update = json_decode(file_get_contents("php://input"), true);
@$update = json_decode(file_get_contents("php://input"), true);
$update = [
'message' => [