diff --git a/app/Services/Cron/ArticleSchema.php b/app/Services/Cron/ArticleSchema.php index 6d170851..9d146116 100644 --- a/app/Services/Cron/ArticleSchema.php +++ b/app/Services/Cron/ArticleSchema.php @@ -95,6 +95,7 @@ final class ArticleSchema "msg" => $sMsg, "url" => $sSiteArticleApiUrl, "result" => $sHttpResult, + "resultA"=> $aHttpResult, ]); echo $sMsg; continue; diff --git a/app/Services/Tg/Hook/Mod/ArticleCache.php b/app/Services/Tg/Hook/Mod/ArticleCache.php new file mode 100644 index 00000000..3aa5e014 --- /dev/null +++ b/app/Services/Tg/Hook/Mod/ArticleCache.php @@ -0,0 +1,28 @@ +oDog = new Dog(new ModelArticleCache()); + $this->oDog->_setDogName("articleCache"); + $this->oDog->_setStrField(["content"]); + $this->aUpdate = $aUpdate; + } + + public function __call($sName, $aArg) + { + return $this->oDog->$sName($aArg[0]); + } + +} diff --git a/app/Services/Tg/Hook/Mod/ArticleConfig.php b/app/Services/Tg/Hook/Mod/ArticleConfig.php new file mode 100644 index 00000000..fc03e609 --- /dev/null +++ b/app/Services/Tg/Hook/Mod/ArticleConfig.php @@ -0,0 +1,30 @@ +oDog = new Dog(new ModelArticleConfig()); + $this->oDog->_setDogName("articleConfig"); +// $this->oDog->_setStrField(["schema"]); + $this->aUpdate = $aUpdate; + } + + public function __call($sName, $aArg) + { + return $this->oDog->$sName($aArg[0]); + } + +} diff --git a/app/Services/Tg/Hook/Mod/ArticleSchema.php b/app/Services/Tg/Hook/Mod/ArticleSchema.php new file mode 100644 index 00000000..cb0de394 --- /dev/null +++ b/app/Services/Tg/Hook/Mod/ArticleSchema.php @@ -0,0 +1,29 @@ +oDog = new Dog(new ModelArticleSchema()); + $this->oDog->_setDogName("articleSchema"); + $this->oDog->_setStrField(["schema"]); + $this->aUpdate = $aUpdate; + } + + public function __call($sName, $aArg) + { + return $this->oDog->$sName($aArg[0]); + } + +}