no message
This commit is contained in:
parent
59abc92c32
commit
1ead28ae2a
@ -26,7 +26,7 @@ final class HookController
|
|||||||
// $this->sCustomCmd = "article";
|
// $this->sCustomCmd = "article";
|
||||||
// $this->sCustomFunc = "cache";
|
// $this->sCustomFunc = "cache";
|
||||||
// $this->aCustomOption[1] = "ffq";
|
// $this->aCustomOption[1] = "ffq";
|
||||||
$this->sCustomText = "/article#cacheAdd__ffq_tg"." ".$sText;
|
$this->sCustomText = "/article#cacheAdd__ffq_tg_a"." ".$sText;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->cmd();
|
return $this->cmd();
|
||||||
|
|||||||
@ -168,19 +168,19 @@ class Article extends Base {
|
|||||||
|
|
||||||
public function cacheAdd($aParam)
|
public function cacheAdd($aParam)
|
||||||
{
|
{
|
||||||
$sFrom = $aParam["aOption"][1] ?? "ffq_tg";
|
$sFromGroupCode = $aParam["aOption"][1] ?? "ffq_tg_a";
|
||||||
$sContent = implode(' ', $aParam["aArg"]);
|
$sContent = implode(' ', $aParam["aArg"]);
|
||||||
|
|
||||||
$r = ServiceArticleSchema::make()->cacheAdd($sFrom, $sContent);
|
$r = ServiceArticleCacheTg::start()->add($sFromGroupCode, $sContent);
|
||||||
|
|
||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function save($aParam)
|
// public function save($aParam)
|
||||||
{
|
// {
|
||||||
$r = ServiceArticleSchema::make()->save();
|
// $r = ServiceArticleSchema::make()->save();
|
||||||
|
//
|
||||||
return $r;
|
// return $r;
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user