From 47212f406736772a0eb2d0bf22093b56b23c8771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Wed, 23 Feb 2022 18:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E8=B4=9F=E8=BD=BD?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/linedata/get_line_list.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/script/linedata/get_line_list.php b/script/linedata/get_line_list.php index e424167..99ae336 100755 --- a/script/linedata/get_line_list.php +++ b/script/linedata/get_line_list.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-11-03 11:04:15 * @LastEditors: Please set LastEditors - * @LastEditTime: 2022-02-23 17:46:48 + * @LastEditTime: 2022-02-23 18:15:42 */ $is_script = 1; include_once __DIR__ . '/../../index.php'; @@ -511,16 +511,6 @@ function mogu_getList($data, &$file, &$all ) } $key = $city_name[0]; - // 负载状态 - $status = '正常'; - - if ($info['online'] > $info['allline']) { - $status = '超载'; - } else if ($info['online'] == $info['allline']) { - $status = '满载'; - } else { - $status = '正常'; - } $record['city'] = $city_name[1]; $record['supply'] = $info['yunying']; @@ -530,7 +520,7 @@ function mogu_getList($data, &$file, &$all ) $record['onlineuser'] = ''; $record['maxuser'] = ''; $record['online'] = $info['status']; - $record['status'] = $status; + $record['status'] = $info['onlinestatus']; $record['nasname'] = $info['address']; $list1[$key][] = $record; }