线路表

This commit is contained in:
“wanyongkang”
2021-09-01 15:11:47 +08:00
parent 93c54660db
commit 8a5e4bf3d6

View File

@@ -17,13 +17,17 @@ $product_list = $product_model->field('Id,Token')->fetchAll();
// //测试用----------------------------------------------------------------------------------------------------------
// $time = time();
// $noce = md5(time());
// $apikey = 'pptpm8dr8kj3';
// $sign = md5($noce.$apikey);
// $url = "http://121.41.9.209:8090/gapi/getUserinfo.html?username=mp3635&agentOrigin=admin1&nonce=".$noce."&sign=".$sign;
// // echo $url;
// $test = file_get_contents($url);
// print_r($test);
// $apikey = 'osoa917321hdjw';
// $sign = md5($time.$noce.$apikey);
// $url = "http://47.92.65.184:2223/api/getNodeList?agentid=admin2&ti=".$time."&nonce=".$noce."&sign=".$sign;
// $xunlian = json_decode(file_get_contents($url), true)['data'];
// if ($xunlian){
// $xunlian_data = get_product(__DIR__ . '/data/xunlian.csv');
// $xunlian_f = fopen(__DIR__ . '/data/xunlian.csv', 'w');
// //写入讯连文件
// xunlian_getList($xunlian, $xunlian_f, $all, $xunlian_data);
// fclose($xunlian_f);
// }
// die;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//强子迅联特征码
@@ -872,6 +876,7 @@ function xunlian_getList($data, &$file, &$all, $exit)
$key = $record['city'];
$list1[$key][] = $record;
}
$key = $city_name[0];
}