no message

This commit is contained in:
hellcat 2025-07-18 17:38:35 +08:00
parent bc93f8e4d9
commit 1d1f96e1be

View File

@ -3,20 +3,20 @@
namespace App\Services\TG\Hook\Mod; namespace App\Services\TG\Hook\Mod;
use App\Models\Blade as ModelBlade; use App\Models\Blade as ModelBlade;
use App\Services\TG\Hook\Mod\DDT; use App\Services\TG\Hook\Mod\DOG;
class Blade extends Base { class Blade extends Base {
private $oDDT; private $oDOG;
public function __construct($aUpdate) public function __construct($aUpdate)
{ {
$this->oDDT = new DDT(new ModelBlade()); $this->oDOG = new DOG(new ModelBlade());
$this->oDDT->_setPrimaryKey("code"); // 可选默认id $this->oDOG->_setPrimaryKey("code"); // 可选默认id
$this->oDDT->_setStrField(["content"]); // 可选,指定长文本字段 $this->oDOG->_setStrField(["content"]); // 可选,指定长文本字段
$this->oDDT->_setThisName("blade"); // 必须me用正常就是类名只不过后期没准改名所以就这里写死 $this->oDOG->_setDogName("blade"); // 必须me用正常就是类名只不过后期没准改名所以就这里写死
} }