no message
This commit is contained in:
parent
a93beaa48e
commit
38c24414b8
28
app/Services/Tg/Hook/Mod/CrawlFreenode.php
Normal file
28
app/Services/Tg/Hook/Mod/CrawlFreenode.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
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\TomTool\HttpV2;
|
||||
|
||||
class CrawlFreenode extends Base {
|
||||
|
||||
public function __construct($aUpdate)
|
||||
{
|
||||
$this->oDog = new Dog(new ModelFreenodePool());
|
||||
$this->oDog->_setDogName("FreenodePool");
|
||||
$this->oDog->_setJsonField(["url_file", "file_real"]);
|
||||
// $this->oDog->_setStrField(["content"]);
|
||||
$this->aUpdate = $aUpdate;
|
||||
}
|
||||
|
||||
public function __call($sName, $aArg)
|
||||
{
|
||||
return $this->oDog->$sName($aArg[0]);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user