您的位置: 首页 > IT文章 > 怎么把json中的 date元素 LongGoodsName 批量获取出来呢 怎么把json中的 date元素 LongGoodsName 批量获取出来呢 分类: IT文章 • 2024-04-16 13:22:16 参考博客文章 $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串