diff --git a/src/utils/HttpUtils.js b/src/utils/HttpUtils.js index aab371f..6680b2e 100644 --- a/src/utils/HttpUtils.js +++ b/src/utils/HttpUtils.js @@ -69,9 +69,9 @@ export const postWithFiles = ({ url, params, files, onSuccess, onFail, onError } }); }; -export const fileDownload = ({ url, fileId, skey, filename, params, method, onResponse, onError }) => { +export const fileDownload = ({ url, fileId, skey, params, method, onResponse, onError }) => { if (!url) { - url = FILE_DOWN_GET + "/" + fileId + "/" + skey + "/" + filename + url = FILE_DOWN_GET + "/" + fileId + "/" + skey } if (method == 'post') { axios.post(url, params,