no message
This commit is contained in:
parent
ab8c0456aa
commit
4d52862005
@ -146,7 +146,7 @@ final class FreenodeCrawl
|
|||||||
|
|
||||||
public static function run()
|
public static function run()
|
||||||
{
|
{
|
||||||
echo "\nCrawlFreenode::caseA - 开始\n";
|
echo "\nCrawlFreenode::run - 开始\n";
|
||||||
|
|
||||||
$aFromList = ModelCrawlFreenode::where("status", 1)->get()->toArray();
|
$aFromList = ModelCrawlFreenode::where("status", 1)->get()->toArray();
|
||||||
|
|
||||||
@ -157,6 +157,9 @@ final class FreenodeCrawl
|
|||||||
$sMethod = "getFile__".$aFrom["group"];
|
$sMethod = "getFile__".$aFrom["group"];
|
||||||
$aFileList = self::$sMethod($aFrom); // 没有就返回空数组,所以不用判断,直接foreach
|
$aFileList = self::$sMethod($aFrom); // 没有就返回空数组,所以不用判断,直接foreach
|
||||||
|
|
||||||
|
$sMsg = " - CrawlFreenode爬from返回空 -> ".json_encode($aFrom)." \n";
|
||||||
|
TeleSlave::log()->send($sMsg);
|
||||||
|
|
||||||
foreach ($aFileList as $sFileRow) {
|
foreach ($aFileList as $sFileRow) {
|
||||||
$sType = $sFileRow["type"];
|
$sType = $sFileRow["type"];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user