From 29e226521f9352d4338ebae354a391412d3c2075 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Thu, 10 Jul 2025 17:54:15 +0800 Subject: [PATCH] no message --- src/Services/Tg/Hook/Mod/Node.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/Services/Tg/Hook/Mod/Node.php b/src/Services/Tg/Hook/Mod/Node.php index a11c4c3a..b5a57bde 100644 --- a/src/Services/Tg/Hook/Mod/Node.php +++ b/src/Services/Tg/Hook/Mod/Node.php @@ -122,7 +122,9 @@ class Node extends Base if (empty($aNodeList)) { - $sMsg = "没有"; +// $sMsg = "没有"; + + return "没有"; } else { @@ -141,15 +143,17 @@ class Node extends Base unset($row['is_dynamic_rate']); unset($row['password']); -// $sMsg = json_encode($row, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT); -// -// $this->oTGHttp->sendToTG($sMsg); + $sMsg = json_encode($row, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT); // + $this->oTGHttp->sendToTG($sMsg); + +// $this->oHttp::response(200, 'ok'); +// } - $sMsg = $this->toJson($aNodeList); +// $sMsg = $this->toJson($aNodeList); } - return $sMsg; -// $this->oHttp::response(200, 'ok'); +// return $sMsg; + $this->oHttp::response(200, 'ok'); } public function FindSet($aParam)