完善导出功能
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user