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