no message

This commit is contained in:
hellcat 2026-03-19 20:51:54 +08:00
parent 3416aee1f2
commit e76a64b811
2 changed files with 25 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public function receive(Request $oRequest)
"i7like" => $aOpt["i7like"] ?? "skip", "i7like" => $aOpt["i7like"] ?? "skip",
"i365like" => $aOpt["i365like"] ?? "skip", "i365like" => $aOpt["i365like"] ?? "skip",
"iIsTop" => $aOpt["iIsTop"] ?? "skip", "iIsTop" => $aOpt["iIsTop"] ?? "skip",
"sThumb" => $aOpt["sThumb"] ?? "skip",
]; ];
$oArticle = Articles::where("sSlug", $sSlug)->first(); $oArticle = Articles::where("sSlug", $sSlug)->first();

View File

@ -0,0 +1,24 @@
<?php
namespace App\Services\Tg\Hook\Mod;
use App\Models\ArticleTags as ModelArticleTags;
use App\Services\Tg\Hook\Dog;
use App\Services\TagService;
class ArticleTags extends Base {
private $oDog;
public function __construct($aUpdate = [])
{
$this->oDog = new Dog(new ModelArticleTags());
// $this->oDog->_setPrimaryKey("k"); // 可选默认id
$this->oDog->_setDogName("articleTags"); // 必须
}
public function __call($sName, $aArg)
{
return $this->oDog->$sName($aArg[0]);
}
}