no message
This commit is contained in:
parent
96829a3bc3
commit
ba2fcb77fb
@ -683,7 +683,15 @@ final class HookController
|
||||
|
||||
// $sMsg = '';
|
||||
|
||||
// foreach ($aNodeList as $row) {
|
||||
$aNodeListNew = [];
|
||||
foreach ($aNodeList as $row) {
|
||||
|
||||
$row['custom_config'] = json_decode($row['custom_config']);
|
||||
$row['dynamic_rate_config'] = json_decode($row['dynamic_rate_config']);
|
||||
$row['node_bandwidth_limit'] = Tools::flowToGB($row['custom_config']);
|
||||
$row['node_bandwidth'] = Tools::flowToGB($row['node_bandwidth']);
|
||||
$row['node_heartbeat'] = date('Y-m-d H:i:s', $row['custom_config']);
|
||||
|
||||
// $sMsg .= "\n\n";
|
||||
// $sMsg .= "id:".$row['id']."。\n";
|
||||
// $sMsg .= "name:".$row['name']."。\n";
|
||||
@ -700,10 +708,10 @@ final class HookController
|
||||
// if ($row['memo']) {
|
||||
// $sMsg .= "备注:".$row['memo']."。\n";
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
$sMsg = json_encode($aNodeList, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
||||
$sMsg = json_encode($aNodeListNew, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
||||
}
|
||||
|
||||
$this->sendMessage($sMsg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user