老鹰
This commit is contained in:
@@ -15,15 +15,15 @@ $product_model = new Product;
|
||||
$product_list = $product_model->field('Id,Token')->fetchAll();
|
||||
|
||||
// //测试用----------------------------------------------------------------------------------------------------------
|
||||
// $tiantian = json_decode(file_get_contents("https://yoyoapi.yoyoip.com/v1/areas?apiid=89&sendtime=" . time() . "&sign=" . md5('apiid=89&sendtime=' . time() . 'NFeK72yYXmPiGR86YeMCBRTWDxXkrQsd')), true)['data'];
|
||||
// if($tiantian){
|
||||
// $tiantian_data = get_product(__DIR__ . '/data/tiantian.csv');
|
||||
// $tiantian_f = fopen(__DIR__ . '/data/tiantian.csv', 'w');
|
||||
// //写入天天文件
|
||||
// tiantian_getList($tiantian, $tiantian_f, $all, $tiantian_data, '天天');
|
||||
// fclose($tiantian_f);
|
||||
// }
|
||||
// $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);
|
||||
// die;
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//强子迅联特征码
|
||||
@@ -163,12 +163,14 @@ if($mogu){
|
||||
}
|
||||
|
||||
|
||||
$laoying = file_get_contents('http://list.wzvps.com/');
|
||||
$laoying_data = get_product(__DIR__ . '/data/laoying.csv');
|
||||
$laoying_f = fopen(__DIR__ . '/data/laoying.csv', 'w');
|
||||
//写入老鹰文件
|
||||
laoying_getList($laoying, $laoying_f, $all, $laoying_data);
|
||||
fclose($laoying_f);
|
||||
// $laoying = file_get_contents('http://list.wzvps.com/');
|
||||
// if($laoying){
|
||||
// $laoying_data = get_product(__DIR__ . '/data/laoying.csv');
|
||||
// $laoying_f = fopen(__DIR__ . '/data/laoying.csv', 'w');
|
||||
// //写入老鹰文件
|
||||
// laoying_getList($laoying, $laoying_f, $all, $laoying_data);
|
||||
// fclose($laoying_f);
|
||||
// }
|
||||
|
||||
// $shihui_data = get_product(__DIR__ . '/data/shihui.csv');
|
||||
// $shihui_f = fopen(__DIR__ . '/data/shihui.csv', 'w');
|
||||
|
||||
Reference in New Issue
Block a user