no message
This commit is contained in:
parent
4bb4a310ed
commit
943954873b
@ -95,6 +95,7 @@ final class ArticleSchema
|
|||||||
"msg" => $sMsg,
|
"msg" => $sMsg,
|
||||||
"url" => $sSiteArticleApiUrl,
|
"url" => $sSiteArticleApiUrl,
|
||||||
"result" => $sHttpResult,
|
"result" => $sHttpResult,
|
||||||
|
"resultA"=> $aHttpResult,
|
||||||
]);
|
]);
|
||||||
echo $sMsg;
|
echo $sMsg;
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
28
app/Services/Tg/Hook/Mod/ArticleCache.php
Normal file
28
app/Services/Tg/Hook/Mod/ArticleCache.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Services\Tg\Hook\Mod;
|
||||||
|
|
||||||
|
use App\Models\ArticleCache as ModelArticleCache;
|
||||||
|
use App\Services\Tg\Hook\Dog;
|
||||||
|
use App\Services\Article\CacheTg as ServiceArticleCacheTg;
|
||||||
|
use App\Services\Article\Schema as ServiceArticleSchema;
|
||||||
|
use App\Services\Article\Cmd as ServiceArticleCmd;
|
||||||
|
use App\Services\TomTool\Flow;
|
||||||
|
use App\Services\TomTool\ThrowableHandler;
|
||||||
|
|
||||||
|
class ArticleCache extends Base {
|
||||||
|
|
||||||
|
public function __construct($aUpdate)
|
||||||
|
{
|
||||||
|
$this->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]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
30
app/Services/Tg/Hook/Mod/ArticleConfig.php
Normal file
30
app/Services/Tg/Hook/Mod/ArticleConfig.php
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Services\Tg\Hook\Mod;
|
||||||
|
|
||||||
|
use App\Models\ArticleCache as ModelArticleCache;
|
||||||
|
use App\Models\ArticleSchema as ModelArticleSchema;
|
||||||
|
use App\Models\ArticleConfig as ModelArticleConfig;
|
||||||
|
use App\Services\Tg\Hook\Dog;
|
||||||
|
//use App\Services\Article\CacheTg as ServiceArticleCacheTg;
|
||||||
|
use App\Services\Article\Schema as ServiceArticleSchema;
|
||||||
|
use App\Services\Article\Cmd as ServiceArticleCmd;
|
||||||
|
use App\Services\TomTool\Flow;
|
||||||
|
use App\Services\TomTool\ThrowableHandler;
|
||||||
|
|
||||||
|
class ArticleConfig extends Base {
|
||||||
|
|
||||||
|
public function __construct($aUpdate)
|
||||||
|
{
|
||||||
|
$this->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]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
29
app/Services/Tg/Hook/Mod/ArticleSchema.php
Normal file
29
app/Services/Tg/Hook/Mod/ArticleSchema.php
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Services\Tg\Hook\Mod;
|
||||||
|
|
||||||
|
use App\Models\ArticleCache as ModelArticleCache;
|
||||||
|
use App\Models\ArticleSchema as ModelArticleSchema;
|
||||||
|
use App\Services\Tg\Hook\Dog;
|
||||||
|
//use App\Services\Article\CacheTg as ServiceArticleCacheTg;
|
||||||
|
use App\Services\Article\Schema as ServiceArticleSchema;
|
||||||
|
use App\Services\Article\Cmd as ServiceArticleCmd;
|
||||||
|
use App\Services\TomTool\Flow;
|
||||||
|
use App\Services\TomTool\ThrowableHandler;
|
||||||
|
|
||||||
|
class ArticleSchema extends Base {
|
||||||
|
|
||||||
|
public function __construct($aUpdate)
|
||||||
|
{
|
||||||
|
$this->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]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user