正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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(); |
-
请 注册 或 登录 后发表评论