diff --git a/script/linedata/auto_format.php b/script/linedata/auto_format.php index 2934e92..bd33a10 100644 --- a/script/linedata/auto_format.php +++ b/script/linedata/auto_format.php @@ -1,7 +1,7 @@ '正常', 'no' => '故障']; @@ -268,7 +275,11 @@ function jike_getList($data, &$file, &$all, $exit) $province_record = []; foreach ($data as $info) { $record = []; - $record['name'] = '极客'; + if($is_jike){ + $record['name'] = '极客'; + } else { + $record['name'] = '西瓜'; + } //如果存在 不为空 则 if (!in_array($info['province'], $province_record)) { $record['city'] = $info['province']; diff --git a/script/linedata/search.php b/script/linedata/search.php index 556ff44..81cac8d 100755 --- a/script/linedata/search.php +++ b/script/linedata/search.php @@ -53,6 +53,9 @@ if($_GET['type'] == 1){ case 15: search_product(__DIR__.'/data/download/gongxiang.csv','shihui'); break; + case 17: + search_product(__DIR__.'/data/download/xigua.csv','xgip.vip'); + break; } }