huohu
This commit is contained in:
@@ -15,14 +15,22 @@ $product_model = new Product;
|
|||||||
$product_list = $product_model->field('Id,Token')->fetchAll();
|
$product_list = $product_model->field('Id,Token')->fetchAll();
|
||||||
|
|
||||||
// // //测试用----------------------------------------------------------------------------------------------------------
|
// // //测试用----------------------------------------------------------------------------------------------------------
|
||||||
|
// $url = 'http://106.52.152.33:8899/panel/index';
|
||||||
|
// $header = array();
|
||||||
|
// $header[] = "Cookie: PHPSESSID=4c0teagu80klg065dk4ho0nvu6";
|
||||||
|
// $content = linkcurl($url,'POST',[],$header);
|
||||||
|
// print_r($content);
|
||||||
|
// //获取所有大分类
|
||||||
|
// preg_match_all("/<tr(.*?)<\/tr>/is", $content, $result);
|
||||||
|
// //获取城市数据
|
||||||
|
// // preg_match_all("/<td id=\"pools\">(.*?)<a/is", $result[1][2], $city);
|
||||||
|
// //根据省份获取数据
|
||||||
|
// preg_match_all("/<span class=\"province(.*?)<hr>/is", $result[1][2], $city);
|
||||||
|
|
||||||
|
// $huohu = $city[1];
|
||||||
|
|
||||||
|
// print_r($huohu);
|
||||||
|
|
||||||
// $time = time();
|
|
||||||
// $noce = md5(time());
|
|
||||||
// $apikey = 'a478ad5aa3079bbbef3cd45e2d55d61e';
|
|
||||||
// $sign = md5($time.$noce.$apikey);
|
|
||||||
// $url = "http://47.92.116.14:2222/api/getNodeList?agentid=admin1&ti=".$time."&nonce=".$noce."&sign=".$sign;
|
|
||||||
// $qiangzi = json_decode(file_get_contents($url), true)['data'];
|
|
||||||
// dump($qiangzi);
|
|
||||||
// die;
|
// die;
|
||||||
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
//强子迅联特征码
|
//强子迅联特征码
|
||||||
|
|||||||
Reference in New Issue
Block a user