行
This commit is contained in:
parent
4cc12c8ec8
commit
6d4239f29c
@ -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) {
|
||||||
|
|||||||
@ -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 .= " 】";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user