完善导出功能

This commit is contained in:
WUSIJIAN
2025-12-03 17:24:34 +08:00
parent 8b57729c8a
commit 990bbfd8fd
6 changed files with 682 additions and 797 deletions

View File

@@ -36,10 +36,22 @@ export function updateProduct(data: object) {
});
}
// 导出产品
export function exportProduct(data: object) {
return newService({
url: '/customerService/product/export',
responseType: 'blob',
method: 'get',
params: data,
});
}
//导入产品
export function importProduct(data: object) {
return newService({
url: '/customerService/product/import',
responseType: 'blob',
method: 'post',
data: data,
});
}