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"];