线路表

This commit is contained in:
“wanyongkang”
2021-01-27 16:21:55 +08:00
parent d2c197c954
commit 3ea6d624fb
2 changed files with 7 additions and 1 deletions

View File

@@ -417,7 +417,7 @@ function mogu_getList($data, &$file, &$all, $exit, $product_name)
$record['daikuan'] = $v['bandwidth'];
$record['onlineuser'] = '';
$record['maxuser'] = '';
$record['online'] = empty($v['status']) ? '故障' : $status[$v['status']];
$record['online'] = $v['status'] ? '正常' : '故障';
$record['status'] = '';
$record['nasname'] = $v['address'][0];
if (!in_array($record['nasname'], $exit) && !in_array($record['nasname'], $dnx_has_exit)) {

View File

@@ -117,6 +117,12 @@ function search_all_product($file_path,$search){
case '共享':
$dns = 'shihui';
break;
case '西瓜':
$dns = 'xgip.vip';
break;
case '蘑菇':
$dns = 'mgip.net';
break;
}
$data['city'] = $info[1];
$data['supply'] = $info[2];