From 4d52862005ed91734234c2ec62572b3e2b111d15 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Thu, 18 Dec 2025 17:31:34 +0800 Subject: [PATCH] no message --- app/Services/Cron/FreenodeCrawl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Services/Cron/FreenodeCrawl.php b/app/Services/Cron/FreenodeCrawl.php index fed9c50f..18cb70aa 100644 --- a/app/Services/Cron/FreenodeCrawl.php +++ b/app/Services/Cron/FreenodeCrawl.php @@ -146,7 +146,7 @@ final class FreenodeCrawl public static function run() { - echo "\nCrawlFreenode::caseA - 开始\n"; + echo "\nCrawlFreenode::run - 开始\n"; $aFromList = ModelCrawlFreenode::where("status", 1)->get()->toArray(); @@ -157,6 +157,9 @@ final class FreenodeCrawl $sMethod = "getFile__".$aFrom["group"]; $aFileList = self::$sMethod($aFrom); // 没有就返回空数组,所以不用判断,直接foreach + $sMsg = " - CrawlFreenode爬from返回空 -> ".json_encode($aFrom)." \n"; + TeleSlave::log()->send($sMsg); + foreach ($aFileList as $sFileRow) { $sType = $sFileRow["type"];