line
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* @version:
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-11-03 11:04:15
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2022-04-28 18:32:46
|
||||
* @LastEditors: “wanyongkang” “937888580@qq.com”
|
||||
* @LastEditTime: 2022-05-22 17:27:09
|
||||
*/
|
||||
$is_script = 1;
|
||||
include_once __DIR__ . '/../../index.php';
|
||||
@@ -127,19 +127,19 @@ if(!empty($yunniu)){
|
||||
|
||||
|
||||
|
||||
$time = time();
|
||||
$noce = md5(time());
|
||||
$apikey = 'd50f2b2ffd421efa67df8efb96d5ff6c';
|
||||
$sign = md5($time.$noce.$apikey);
|
||||
$url = "http://106.54.198.154/api/getNodeList?agentid=admin1&ti=".$time."&nonce=".$noce."&sign=".$sign;
|
||||
$xingxing = json_decode(file_get_contents($url), true)['data'];
|
||||
//写入星星文件
|
||||
if($xingxing){
|
||||
$xingxing_data = get_product(__DIR__ . '/data/xingxing.csv');
|
||||
$xingxing_f = fopen(__DIR__ . '/data/xingxing.csv', 'w');
|
||||
xingxing_getList($xingxing, $xingxing_f, $all, $xingxing_data);
|
||||
fclose($xingxing_f);
|
||||
}
|
||||
// $time = time();
|
||||
// $noce = md5(time());
|
||||
// $apikey = 'd50f2b2ffd421efa67df8efb96d5ff6c';
|
||||
// $sign = md5($time.$noce.$apikey);
|
||||
// $url = "http://106.54.198.154/api/getNodeList?agentid=admin1&ti=".$time."&nonce=".$noce."&sign=".$sign;
|
||||
// $xingxing = json_decode(file_get_contents($url), true)['data'];
|
||||
// //写入星星文件
|
||||
// if($xingxing){
|
||||
// $xingxing_data = get_product(__DIR__ . '/data/xingxing.csv');
|
||||
// $xingxing_f = fopen(__DIR__ . '/data/xingxing.csv', 'w');
|
||||
// xingxing_getList($xingxing, $xingxing_f, $all, $xingxing_data);
|
||||
// fclose($xingxing_f);
|
||||
// }
|
||||
|
||||
|
||||
$jike = json_decode(file_get_contents("http://api.webok.me/beikeiplist/"), true)['data'];
|
||||
|
||||
Reference in New Issue
Block a user