This commit is contained in:
2026-07-27 17:19:36 +08:00
parent e50d1b8fda
commit 1c7532e0de
132 changed files with 7066 additions and 1241 deletions

View File

@@ -13,3 +13,15 @@ export const exportBlob = (url, params) => {
responseType: 'blob',
});
};
export const importBlob = (url, file) => {
const formData = new FormData();
formData.append('file', file);
return request({
url,
method: 'post',
data: formData,
responseType: 'blob',
timeout: 60000,
});
};