load->model('query','',TRUE); //查询图片 $datas = $this->query->found_img($type,1); $json = json_encode($datas); echo $json; } } ?>