oDDT = new DDT(new ModelBlade()); $this->oDDT->_setPrimaryKey("code"); // 可选,默认id $this->oDDT->_setStrField(["content"]); // 可选,指定长文本字段 $this->oDDT->_setThisName("blade"); // 必须,me用,正常就是类名,只不过后期没准改名,所以就这里写死 } public function __call($sName, $aArg) { return $this->oDDT->$sName($aArg[0]); } }