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; }