dd/app/Services/Tg/Hook/Mod/ArticleSiteMapGroup.php
2025-11-13 18:03:24 +08:00

32 lines
763 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Services\Tg\Hook\Mod;
use App\Models\ArticleSiteMapGroup as ModelArticleSiteMapGroup;
use App\Services\Tg\Hook\Dog;
use App\Services\TomTool\Flow;
class ArticleSiteMapGroup extends Base {
private $oDog;
// private $aUpdate;
public function __construct($aUpdate)
{
$this->oDog = new Dog(new ModelArticleSiteMapGroup());
$this->oDog->_setDogName("articleSiteMapGroup");
// $this->oDog->_setPrimaryKey("code"); // 可选默认id
// $this->oDog->_setJsonField(["use_from"]);
// $this->oDog->_setStrField(["content"]);
// $this->aUpdate = $aUpdate;
}
public function __call($sName, $aArg)
{
return $this->oDog->$sName($aArg[0]);
}
}