From 38163277f4ee87ccfd2f2846620caee9184a8bff Mon Sep 17 00:00:00 2001 From: hellcat Date: Sun, 1 Feb 2026 14:03:50 +0800 Subject: [PATCH] no message --- app/Services/Cron/ArticleSchema.php | 2 ++ app/Services/Cron/FnTgPublish.php | 2 +- app/Services/Cron/FreenodePool.php | 4 ++++ app/Services/Tg/Hook/Mod/Arma.php | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/Services/Cron/ArticleSchema.php b/app/Services/Cron/ArticleSchema.php index 8ca912be..3e2f7868 100755 --- a/app/Services/Cron/ArticleSchema.php +++ b/app/Services/Cron/ArticleSchema.php @@ -128,6 +128,8 @@ final class ArticleSchema //// 丑陋缝补一下 if (data_get($oArticleSchema, 'group_code') === "ffq_tg_a") { TeleSlave::notify()->send($aHttpResult["aData"]["aNewPath"]); + } else { + TeleSlave::notify()->send(): } } diff --git a/app/Services/Cron/FnTgPublish.php b/app/Services/Cron/FnTgPublish.php index ae6dd5a0..068a72e6 100755 --- a/app/Services/Cron/FnTgPublish.php +++ b/app/Services/Cron/FnTgPublish.php @@ -47,7 +47,7 @@ final class FnTgPublish } if (!$aResult["isDone"]) { - throw new \Exception($aResult["sMsg"]); + throw new \Exception($sResult); } $iImgId = $aResult["aData"]["img_id"] ?? 0; diff --git a/app/Services/Cron/FreenodePool.php b/app/Services/Cron/FreenodePool.php index bbaf14c3..b4139c0c 100755 --- a/app/Services/Cron/FreenodePool.php +++ b/app/Services/Cron/FreenodePool.php @@ -60,6 +60,10 @@ final class FreenodePool } $aTmp = explode("://", $sNode, 2); + if (!isset($aTmp[0]) || !isset($aTmp[1])) { + continue; + } + $aNodeFormat["protocolType"] = $sProtocolType = $aTmp[0]; // data $sConfig = $aTmp[1]; diff --git a/app/Services/Tg/Hook/Mod/Arma.php b/app/Services/Tg/Hook/Mod/Arma.php index be72d76a..b4ccfe90 100755 --- a/app/Services/Tg/Hook/Mod/Arma.php +++ b/app/Services/Tg/Hook/Mod/Arma.php @@ -26,7 +26,7 @@ class Arma extends Base { return $this->oDog->$sName($aArg[0]); } - public function thumUse($aParam) + public function thumbUse($aParam) { $iId = $aParam["aOption"][1] ?? 0; $sThumbUse = $aParam["aArg"][1] ?? "";