no message

This commit is contained in:
hellcat 2025-07-19 10:30:55 +08:00
parent e001acef07
commit 92e7a841b7

View File

@ -12,11 +12,11 @@ class Hub extends Base {
{ {
$this->oDog = new Dog(new ModelArticle()); $this->oDog = new Dog(new ModelArticle());
$this->oDog->_setDogName("hub"); // 必须
// $this->oDDT->_setPrimaryKey("id"); // 可选默认id // $this->oDDT->_setPrimaryKey("id"); // 可选默认id
// $this->oDDT->_setStrField(["content"]); // 可选,指定长文本字段 // $this->oDDT->_setStrField(["content"]); // 可选,指定长文本字段
$this->oDog->_setDogName("hub"); // 必须 // $this->oDog->_setInFormat(["user_name"]);
$this->oDog->_setInFormat(["user_name"]); // $this->oDog->_setOutFormat(["user_name" => "date"]);
$this->oDog->_setOutFormat(["user_name" => "date"]);
} }