resource/app/Services/Tg/Hook/Mod/Images.php
hellcat 855eb567a2 1
2026-03-19 18:48:03 +08:00

25 lines
506 B
PHP
Executable File
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\Images as ModelImages;
use App\Services\Tg\Hook\Dog;
class Images extends Base {
private $oDog;
public function __construct($aUpdate = [])
{
$this->oDog = new Dog(new ModelImages());
// $this->oDog->_setPrimaryKey("k"); // 可选默认id
$this->oDog->_setDogName("images"); // 必须
}
public function __call($sName, $aArg)
{
return $this->oDog->$sName($aArg[0]);
}
}