30 lines
812 B
PHP
30 lines
812 B
PHP
<?php
|
|
|
|
namespace App\Services\Tg\Hook\Mod;
|
|
|
|
use App\Models\ArticleCache as ModelArticleCache;
|
|
use App\Models\ArticleSchema as ModelArticleSchema;
|
|
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 ArticleSchema extends Base {
|
|
|
|
public function __construct($aUpdate)
|
|
{
|
|
$this->oDog = new Dog(new ModelArticleSchema());
|
|
$this->oDog->_setDogName("articleSchema");
|
|
$this->oDog->_setStrField(["schema"]);
|
|
$this->aUpdate = $aUpdate;
|
|
}
|
|
|
|
public function __call($sName, $aArg)
|
|
{
|
|
return $this->oDog->$sName($aArg[0]);
|
|
}
|
|
|
|
}
|