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

31 lines
680 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\Services\Tg\Hook\Dog;
use App\Models\HttpQueue as ModelHttpQueue;
class HttpQueue extends Base {
private $oDog;
// private $aUpdate;
public function __construct($aUpdate)
{
$this->oDog = new Dog(new ModelHttpQueue());
$this->oDog->_setDogName("HttpQueue");
// $this->oDog->_setPrimaryKey("code"); // 可选默认id
// $this->oDog->_setJsonField(["config"]);
// $this->oDog->_setStrField(["content"]);
// $this->aUpdate = $aUpdate;
}
public function __call($sName, $aArg)
{
return $this->oDog->$sName($aArg[0]);
}
}