diff --git a/src/Services/Cron.php b/src/Services/Cron.php index f1c6c0a45..1646cbde1 100755 --- a/src/Services/Cron.php +++ b/src/Services/Cron.php @@ -988,7 +988,7 @@ final class Cron //// pendding转激活 # 步骤3 public static function planQueue_pendingToActivation() { - self::_helper_log("pending到activation - 开始"); + self::_helper_log("套餐激活 - 开始"); $oPlanQueueList = PlanQueue::whereNull("status")->get(); foreach ($oPlanQueueList as $oPlanQueue) { diff --git a/src/Services/Tg/Hook/Mod/Product.php b/src/Services/Tg/Hook/Mod/Product.php new file mode 100644 index 000000000..360c44812 --- /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]); + + } + +}