no message

This commit is contained in:
hellcat 2025-11-14 13:59:22 +08:00
parent fcc1048e49
commit 59abc92c32
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ class Article extends Base {
public function test_cron_saveAuto() public function test_cron_saveAuto()
{ {
$r = ServiceArticle::make()->cron_saveAuto(); $r = ServiceArticleSchema::make()->cron_saveAuto();
return $r; return $r;
} }
@ -171,14 +171,14 @@ class Article extends Base {
$sFrom = $aParam["aOption"][1] ?? "ffq_tg"; $sFrom = $aParam["aOption"][1] ?? "ffq_tg";
$sContent = implode(' ', $aParam["aArg"]); $sContent = implode(' ', $aParam["aArg"]);
$r = ServiceArticle::make()->cacheAdd($sFrom, $sContent); $r = ServiceArticleSchema::make()->cacheAdd($sFrom, $sContent);
return $r; return $r;
} }
public function save($aParam) public function save($aParam)
{ {
$r = ServiceArticle::make()->save(); $r = ServiceArticleSchema::make()->save();
return $r; return $r;
} }

View File

@ -237,7 +237,7 @@ class Slave
} else { } else {
$oFlow = Flow::start("_send_master"); $oFlow = Flow::start("_send_master");
$sUrlMaSterBase = $_ENV["url_master_base"]; $sUrlMaSterBase = $_ENV["url_master_base"] ?? "";
if (!$sUrlMaSterBase) { if (!$sUrlMaSterBase) {
throw new Exception("未设置env的url_master_base"); throw new Exception("未设置env的url_master_base");