迅连apikey

This commit is contained in:
“wanyongkang”
2021-03-19 12:48:21 +08:00
parent c4f42c12e6
commit 157a8cb014

View File

@@ -35,7 +35,7 @@ $product_list = $product_model->field('Id,Token')->fetchAll();
// $time = time();
// $noce = md5(time());
// $apikey = 'a77160a26aa0c4f8bb68c85e5e2c73d8';
// $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'];
@@ -67,7 +67,7 @@ fclose($qiangzi_f);
$time = time();
$noce = md5(time());
$apikey = 'a77160a26aa0c4f8bb68c85e5e2c73d8';
$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'];