diff --git a/public/.DS_Store b/public/.DS_Store index 9c8c5350..50bd60f2 100755 Binary files a/public/.DS_Store and b/public/.DS_Store differ diff --git a/public/clients/.DS_Store b/public/clients/.DS_Store index 0ae6a6ae..2c3e3035 100755 Binary files a/public/clients/.DS_Store and b/public/clients/.DS_Store differ diff --git a/src/Services/Tg/Hook/Mod/Product.php b/src/Services/Tg/Hook/Mod/Product.php new file mode 100644 index 00000000..e2b98f6b --- /dev/null +++ b/src/Services/Tg/Hook/Mod/Product.php @@ -0,0 +1,29 @@ +oDog = new Dog(new ModelProduct()); + $this->oDog->_setDogName("product"); // 必须,me用,正常就是类名,只不过后期没准改名,所以就这里写死 +// $this->oDog->_setPrimaryKey("code"); // 可选,默认id +// $this->oDog->_setStrField(["content"]); // 可选,指定长文本字段 +// $this->oDog->_setInFormat(["date"]); // 可选,忘了 + } + + public function __call($sName, $aArg) + { + + return $this->oDog->$sName($aArg[0]); + + } + +}