no message

This commit is contained in:
hellcat 2025-04-15 21:30:24 +08:00
parent 2ded790bd0
commit bc3f2d9a81
2 changed files with 5 additions and 3 deletions

View File

@ -44,8 +44,9 @@ class CronController
// i_in10规则
$iIin10 = $i[1];
$aArticle = Article::where("i_in10", $iIin10)->where("status", 1)->get()->toArray();
$this->run($aArticle);
if (!empty($aArticle)) {
$this->run($aArticle);
}
$aConditions = Article::select('cron_condition')

View File

@ -19,7 +19,8 @@ class Cmd extends Base {
'文章set' => 'Article#Set__id__fild set',
// '添加github的sshhost' => "System#AddSshHostGithub",
'文章clone' => "article#clone id",
'手动pullR' => "article#clone id",
'git手动重置' => "git#pullR",
'文章find' => "article#find id",
];
$this->oTGHttp->sendToTG(json_encode($aCmdList, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT));