作者 lyh

gx

@@ -125,7 +125,7 @@ class ImageController extends Controller @@ -125,7 +125,7 @@ class ImageController extends Controller
125 ]); 125 ]);
126 $files = $this->request->file('image'); 126 $files = $this->request->file('image');
127 if (empty($files)) { 127 if (empty($files)) {
128 - $this->response('没有上传的文件!', 400); 128 + $this->response('没有上传的文件!', Code::USER_ERROR);
129 } 129 }
130 $type = $this->request->post('type','single'); 130 $type = $this->request->post('type','single');
131 $this->setUrl(); 131 $this->setUrl();