正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -152,6 +152,7 @@ class ImageController extends Controller | @@ -152,6 +152,7 @@ class ImageController extends Controller | ||
| 152 | 'image.required'=>'图片必须填写', | 152 | 'image.required'=>'图片必须填写', |
| 153 | ]); | 153 | ]); |
| 154 | $files = $this->request->file('image'); | 154 | $files = $this->request->file('image'); |
| 155 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($files, true) . PHP_EOL, FILE_APPEND); | ||
| 155 | if (empty($files)) { | 156 | if (empty($files)) { |
| 156 | $this->response('没有上传的文件!', Code::USER_ERROR); | 157 | $this->response('没有上传的文件!', Code::USER_ERROR); |
| 157 | } | 158 | } |
-
请 注册 或 登录 后发表评论