From 6d4239f29cbd2e62c91b12e2bf57c54aa7b36ea9 Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Fri, 14 Mar 2025 22:49:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Services/Cron.php | 6 +++--- src/Services/TomTool/TgSendFormat.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Services/Cron.php b/src/Services/Cron.php index de050fc1..72c2960c 100755 --- a/src/Services/Cron.php +++ b/src/Services/Cron.php @@ -457,7 +457,7 @@ final class Cron // 流量报告,转发 $oTgSendFormat = new TgSendFormat(); $oTgSendFormat->sTitleEmoji = "⚡️⚡️⚡️⚡️⚡️⚡️"; - $oTgSendFormat->sTitle = "流量报告 - 转发"; + $oTgSendFormat->sTitle = "# 转发流量"; $today = new DateTime(); $oZhuanfasAll = $oZhuanfas->all(); @@ -483,8 +483,8 @@ final class Cron // 流量报告,机器 $oTgSendFormat = new TgSendFormat(); - $oTgSendFormat->sTitleEmoji = "\n"; - $oTgSendFormat->sTitle = "流量报告 - 机器"; + $oTgSendFormat->sTitleEmoji = "\n\n"; + $oTgSendFormat->sTitle = "# 机器流量"; $oDucksAll = $oDucks->all(); foreach ($oDucksAll as $oDucksRow) { diff --git a/src/Services/TomTool/TgSendFormat.php b/src/Services/TomTool/TgSendFormat.php index 7851acd5..e28b39dd 100755 --- a/src/Services/TomTool/TgSendFormat.php +++ b/src/Services/TomTool/TgSendFormat.php @@ -51,7 +51,7 @@ final class TgSendFormat $sFlowMix = $sFlowEmoji.' '.(100 - $sFlowRate)."%(".$iMaxWidth." - ".$iUseWidth." = ".$iMaxWidth - $iUseWidth.")【 消耗:".$iFlowToday."g 】"; if ($iLimitDay > 0) { - $sFlowMix .= "【 距离重置:".$iLimitDay." 天 】"; + $sFlowMix .= "【 离重置:".$iLimitDay." 天 】"; } // $sFlowMix .= " 】";