no message
This commit is contained in:
parent
86e1f97241
commit
f362601d18
@ -207,7 +207,7 @@ final class HookController
|
|||||||
|
|
||||||
$r = @json_decode($oHttp->send(), true);
|
$r = @json_decode($oHttp->send(), true);
|
||||||
|
|
||||||
// 不论失败成功都清除step
|
// 不论失败成功都清除 step
|
||||||
$oTgStep->clearByFromId($aUpdate["message"]["from"]["id"]);
|
$oTgStep->clearByFromId($aUpdate["message"]["from"]["id"]);
|
||||||
|
|
||||||
if ($r["ret"] == 1) {
|
if ($r["ret"] == 1) {
|
||||||
|
|||||||
@ -700,7 +700,8 @@ final class Cron
|
|||||||
$oDucksRow->today_width,
|
$oDucksRow->today_width,
|
||||||
$oDucksRow->use_width,
|
$oDucksRow->use_width,
|
||||||
$oDucksRow->max_width,
|
$oDucksRow->max_width,
|
||||||
$iWidthResetDay
|
$iWidthResetDay,
|
||||||
|
$oDucksRow->memo
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,7 @@ final class TgSendFormat
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function rowAdd($sName, $iFlowToday, $iUseWidth, $iMaxWidth, $iLimitDay = false) {
|
public function rowAdd($sName, $iFlowToday, $iUseWidth, $iMaxWidth, $iLimitDay = false, $sMemo = false) {
|
||||||
|
|
||||||
$iUseWidth = Tools::flowToGB($iUseWidth);
|
$iUseWidth = Tools::flowToGB($iUseWidth);
|
||||||
$iMaxWidth = Tools::flowToGB($iMaxWidth);
|
$iMaxWidth = Tools::flowToGB($iMaxWidth);
|
||||||
@ -49,7 +49,7 @@ final class TgSendFormat
|
|||||||
}
|
}
|
||||||
|
|
||||||
// $sFlowMix = $sFlowEmoji.' '.(100 - $sFlowRate)."%(".$iMaxWidth."g - ".$iUseWidth."g = ".$iMaxWidth - $iUseWidth."g)【 今:".$iFlowToday."g 】";
|
// $sFlowMix = $sFlowEmoji.' '.(100 - $sFlowRate)."%(".$iMaxWidth."g - ".$iUseWidth."g = ".$iMaxWidth - $iUseWidth."g)【 今:".$iFlowToday."g 】";
|
||||||
$sFlowMix = $sFlowEmoji.' '.(100 - $sFlowRate)."%";
|
$sFlowMix = $sFlowEmoji.'@'.$sMemo.' '.(100 - $sFlowRate)."%";
|
||||||
|
|
||||||
$sFlowMix .= " [ ";
|
$sFlowMix .= " [ ";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user