$k=0; foreach($return as $k=>$v){ // print_r($v); $new[$k][‘url‘] =$v[‘0‘][‘url‘]; $new[$k][‘pic‘] =$v[‘0‘][‘pic‘]; $new[$k][‘buildingArea‘] =$v[‘0‘][‘buildingArea‘]; $new[$k][‘villageName‘] =$v[‘0‘][‘villageName‘]; $new[$k][‘shi‘] =$v[‘0‘][‘shi‘][‘0‘]; $new[$k][‘shiting‘] =$v[‘0‘][‘shiting‘]; $new[$k][‘price‘] =$v[‘price‘]; } return $new;
时间: 2024-10-05 05:07:39