diff --git a/application/controllers/Api.php b/application/controllers/Api.php new file mode 100644 index 0000000..ac80d79 --- /dev/null +++ b/application/controllers/Api.php @@ -0,0 +1,20 @@ +load->model('query','',TRUE); + //查询图片 + $datas = $this->query->found_img($type,1); + + $json = json_encode($datas); + echo $json; + } + } +?> \ No newline at end of file