diff --git a/app/Services/Tg/Hook/Mod/CrawlFreenode.php b/app/Services/Tg/Hook/Mod/CrawlFreenode.php index d5f79244..782dac7f 100644 --- a/app/Services/Tg/Hook/Mod/CrawlFreenode.php +++ b/app/Services/Tg/Hook/Mod/CrawlFreenode.php @@ -5,16 +5,17 @@ namespace App\Services\Tg\Hook\Mod; use App\Services\Tg\Hook\Dog; use App\Services\TomTool\Flow; use App\Services\TomTool\ThrowableHandler; -use App\Services\Cron\FreenodeMerge as CronFreenodeMerge; -use App\Models\FreenodePool as ModelFreenodePool; +//use App\Services\Cron\FreenodeMerge as CronFreenodeMerge; +//use App\Models\FreenodePool as ModelFreenodePool; +use App\Models\CrawlFreenode as ModelCrawlFreenode; use App\Services\TomTool\HttpV2; class CrawlFreenode extends Base { public function __construct($aUpdate) { - $this->oDog = new Dog(new ModelFreenodePool()); - $this->oDog->_setDogName("FreenodePool"); + $this->oDog = new Dog(new ModelCrawlFreenode()); + $this->oDog->_setDogName("crawlFreenode"); $this->oDog->_setJsonField(["url_file", "file_real"]); // $this->oDog->_setStrField(["content"]); $this->aUpdate = $aUpdate; diff --git a/app/Services/Tg/Hook/Mod/Freenode.php b/app/Services/Tg/Hook/Mod/FreenodePool.php similarity index 99% rename from app/Services/Tg/Hook/Mod/Freenode.php rename to app/Services/Tg/Hook/Mod/FreenodePool.php index 615529e0..50640aa2 100644 --- a/app/Services/Tg/Hook/Mod/Freenode.php +++ b/app/Services/Tg/Hook/Mod/FreenodePool.php @@ -9,7 +9,7 @@ use App\Services\Cron\FreenodeMerge as CronFreenodeMerge; use App\Models\FreenodePool as ModelFreenodePool; use App\Services\TomTool\HttpV2; -class Freenode extends Base { +class FreenodePool extends Base { public function __construct($aUpdate) {