diff --git a/app/Services/Cron/FnTgPublish.php b/app/Services/Cron/FnTgPublish.php index e88fb35f..ae6dd5a0 100755 --- a/app/Services/Cron/FnTgPublish.php +++ b/app/Services/Cron/FnTgPublish.php @@ -24,7 +24,6 @@ final class FnTgPublish $sApiPath = $aSite["api_path"] ?? ""; $sSiteDomain = $aSite["url"] ?? ""; $sSiteCode = $aSite["code"] ?? ""; - $iImgId = $aSite["img_id"] ?? 1; //// test // $sSiteCode = "clashfreenode.com"; @@ -51,6 +50,8 @@ final class FnTgPublish throw new \Exception($aResult["sMsg"]); } + $iImgId = $aResult["aData"]["img_id"] ?? 0; + $sTitle = "「".date("m月d日")."」最新免费节点,SSR/V2ray/Clash/Shadowrocket"; $sStr = $sTitle."\n\n👉 https://".$sSiteDomain."/fn/".date("Ymd").".html";