怎么把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串

原文地址:https://www.cnblogs.com/jscs/p/13921101.html