From b2e4ca8e2e6729dda1cae2b7173b035d7728990c Mon Sep 17 00:00:00 2001 From: hellcat Date: Wed, 11 Mar 2026 18:26:51 +0800 Subject: [PATCH] no message --- app/Services/Cron/FnTgPublish.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/Services/Cron/FnTgPublish.php b/app/Services/Cron/FnTgPublish.php index 71dd19cf..2ca43125 100755 --- a/app/Services/Cron/FnTgPublish.php +++ b/app/Services/Cron/FnTgPublish.php @@ -109,17 +109,14 @@ final class FnTgPublish throw new \Exception("没得到sThumb >>> ".$sResult); } - $iImgId = $aResult["aData"]["img_id"] ?? 0; + $sInput = "thumb_a.jpg"; + $sPattern = '/thumb_./u'; + $sReplacement = 'full'; + $sImgUrl = preg_replace($sPattern, $sReplacement, $sImgUrl); $sTitle = "「".date("m月d日")."」最新免费节点,SSR/V2ray/Clash/Shadowrocket"; $sStr = $sTitle."\n\n👉 https://".$sSiteDomain."/a/fn".date("Ymd").".html"; - -// $sImgUrl = "https://".$sSiteDomain."/site/".$sSiteCode."/images/article/".$iImgId.".png"; -// $sImgUrl = "https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png"; -// $sImgUrl = "https://clashfreenode.com/site/clashfreenode.com/images/article/5.png"; -// $sImgUrl = "https://gips3.baidu.com/it/u=1821127123,1149655687&fm=3028&app=3028&f=JPEG&fmt=auto?w=720&h=1280"; -// $sImgUrl = ""; $r = TeleSlave::start($sSiteCode, $sSiteCode) // ->enableSlaveQueue(false)