29 lines
756 B
PHP
29 lines
756 B
PHP
<?php
|
|
|
|
namespace App\Services\Tg\Hook\Mod;
|
|
|
|
use App\Models\ArticleCache as ModelArticleCache;
|
|
use App\Services\Tg\Hook\Dog;
|
|
use App\Services\Article\CacheTg as ServiceArticleCacheTg;
|
|
use App\Services\Article\Schema as ServiceArticleSchema;
|
|
use App\Services\Article\Cmd as ServiceArticleCmd;
|
|
use App\Services\TomTool\Flow;
|
|
use App\Services\TomTool\ThrowableHandler;
|
|
|
|
class ArticleCache extends Base {
|
|
|
|
public function __construct($aUpdate)
|
|
{
|
|
$this->oDog = new Dog(new ModelArticleCache());
|
|
$this->oDog->_setDogName("articleCache");
|
|
$this->oDog->_setStrField(["content"]);
|
|
$this->aUpdate = $aUpdate;
|
|
}
|
|
|
|
public function __call($sName, $aArg)
|
|
{
|
|
return $this->oDog->$sName($aArg[0]);
|
|
}
|
|
|
|
}
|