怎么把json中的 date元素 LongGoodsName 批量获取出来呢

参考博客文章

 

 

$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串

 

posted @ 2020-11-03 16:40  JS脚本  阅读(103)  评论(0编辑  收藏  举报