From 3273a6f5ba59da290d6df038905763d662e39192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Tue, 27 Apr 2021 15:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E4=BA=A7=E5=93=81=E7=81=AB=E7=8B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/linedata/get_line_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/linedata/get_line_list.php b/script/linedata/get_line_list.php index 1daf3ea..122fdba 100755 --- a/script/linedata/get_line_list.php +++ b/script/linedata/get_line_list.php @@ -406,8 +406,8 @@ function xingxing_getList($data, &$file, &$all, $exit) $record['daikuan'] = $info['bandwidth']; $record['onlineuser'] = ''; $record['maxuser'] = ''; - $record['online'] = ($info['status'] == 1) ? '正常' : '故障'; - $record['status'] = ''; + $record['online'] = ($info['status'] == 0) ? '故障' : '正常'; + $record['status'] = ($info['status'] == 1) ? '正常' : '紧张';; $record['nasname'] = $info['host']; if (!in_array($record['nasname'], $exit) && !in_array($record['nasname'], $dnx_has_exit)) { fputcsv($dnx_exit, ['星星', $record['nasname'], date('Y-m-d H:i:s')]);