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)