feat: #20220802 文件上传接口返回

This commit is contained in:
赵世界 2022-08-02 19:01:47 +08:00
parent 1ae21f041f
commit 92c95b5296

View File

@ -27,7 +27,8 @@ class UploadController extends Controller
]; ];
} }
$this->addLog(0, 'add'); $this->addLog(0, 'add');
$this->res['resource'] = UploadUtils::putForUploadedFile('image', $request->uploadFile);
return UploadUtils::putForUploadedFile('image', $request->uploadFile); return response($this->res, $this->res['httpCode']);
} }
} }