This commit is contained in:
hellcat 2025-03-14 22:49:38 +08:00
parent 4cc12c8ec8
commit 6d4239f29c
2 changed files with 4 additions and 4 deletions

View File

@ -457,7 +457,7 @@ final class Cron
// 流量报告,转发 // 流量报告,转发
$oTgSendFormat = new TgSendFormat(); $oTgSendFormat = new TgSendFormat();
$oTgSendFormat->sTitleEmoji = "⚡️⚡️⚡️⚡️⚡️⚡️"; $oTgSendFormat->sTitleEmoji = "⚡️⚡️⚡️⚡️⚡️⚡️";
$oTgSendFormat->sTitle = "流量报告 - 转发"; $oTgSendFormat->sTitle = "# 转发流量";
$today = new DateTime(); $today = new DateTime();
$oZhuanfasAll = $oZhuanfas->all(); $oZhuanfasAll = $oZhuanfas->all();
@ -483,8 +483,8 @@ final class Cron
// 流量报告,机器 // 流量报告,机器
$oTgSendFormat = new TgSendFormat(); $oTgSendFormat = new TgSendFormat();
$oTgSendFormat->sTitleEmoji = "\n"; $oTgSendFormat->sTitleEmoji = "\n\n";
$oTgSendFormat->sTitle = "流量报告 - 机器"; $oTgSendFormat->sTitle = "# 机器流量";
$oDucksAll = $oDucks->all(); $oDucksAll = $oDucks->all();
foreach ($oDucksAll as $oDucksRow) { foreach ($oDucksAll as $oDucksRow) {

View File

@ -51,7 +51,7 @@ final class TgSendFormat
$sFlowMix = $sFlowEmoji.' '.(100 - $sFlowRate)."%".$iMaxWidth." - ".$iUseWidth." = ".$iMaxWidth - $iUseWidth.")【 消耗:".$iFlowToday."g 】"; $sFlowMix = $sFlowEmoji.' '.(100 - $sFlowRate)."%".$iMaxWidth." - ".$iUseWidth." = ".$iMaxWidth - $iUseWidth.")【 消耗:".$iFlowToday."g 】";
if ($iLimitDay > 0) { if ($iLimitDay > 0) {
$sFlowMix .= "离重置:".$iLimitDay." 天 】"; $sFlowMix .= "离重置:".$iLimitDay." 天 】";
} }
// $sFlowMix .= " 】"; // $sFlowMix .= " 】";