diff --git a/src/api/common.js b/src/api/common.js index 56e4831..5192da3 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -18,7 +18,7 @@ const param = new FormData() param.append('file', fileobj.file) return request({ - url: 'imageUpload', + url: 'fileUpload', method: 'post', headers: { 'Content-Type': 'multipart/form-data' }, data: param