作者 lyh

gx

@@ -298,7 +298,6 @@ class ImageController extends Controller @@ -298,7 +298,6 @@ class ImageController extends Controller
298 */ 298 */
299 public function download(){ 299 public function download(){
300 $imageModel = new ImageModel(); 300 $imageModel = new ImageModel();
301 - ;  
302 $info = $imageModel->read(['path' => str_replace_url($this->param['path'])]); 301 $info = $imageModel->read(['path' => str_replace_url($this->param['path'])]);
303 if ($info === false) { 302 if ($info === false) {
304 $this->response('指定文件不存在!', Code::USER_ERROR); 303 $this->response('指定文件不存在!', Code::USER_ERROR);