github-pachong/app/Services/Tg/Hook/Mod/TelegramKey.php
hellcat c69d35d1bb 1
2026-01-10 16:40:33 +08:00

32 lines
842 B
PHP
Executable File
Raw Permalink 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\TelegramKey as ModelTelegramKey;
//use App\Models\ArticleCache as ModelArticleCache;
//use App\Models\ArticleCacheTime as ModelArticleCacheTime;
use App\Services\Tg\Hook\Dog;
//use App\Services\Article as ServiceArticle;
//use App\Services\TomTool\Flow;
//use App\Services\HttpQueue;
//use App\Services\TomTool\TelegramVdb;
class TelegramKey extends Base {
private $oDog;
public function __construct($aUpdate)
{
$this->oDog = new Dog(new ModelTelegramKey());
$this->oDog->_setDogName("telegram_key"); // 必须me用正常就是类名只不过后期没准改名所以就这里写死要在最前面
}
public function __call($sName, $aArg)
{
return $this->oDog->$sName($aArg[0]);
}
}