$json_string = ‘http://api.xuandan.com/DataApi/HotGoods?AppKey=tspgnv6wpn&type=2&page=1&pagesize=10‘;//获得json的url
$data = curl_file_get_contents($json_string);//通过方法获得json串
2022-07-11 21:39:15
$json_string = ‘http://api.xuandan.com/DataApi/HotGoods?AppKey=tspgnv6wpn&type=2&page=1&pagesize=10‘;//获得json的url
$data = curl_file_get_contents($json_string);//通过方法获得json串