新增:批量导入商品功能
This commit is contained in:
@@ -151,7 +151,7 @@ export async function importGoodsExcelFile(
|
||||
formData.append(key, String(value));
|
||||
});
|
||||
const res = await request.post<ApiResult<GoodsImportResult>>(
|
||||
MODULES_API_URL + '/shop/goods/import-excel',
|
||||
MODULES_API_URL + '/shop/goods/import',
|
||||
formData,
|
||||
{ params }
|
||||
);
|
||||
|
||||
@@ -98,8 +98,7 @@
|
||||
const params: GoodsImportExcelParam = {
|
||||
sheetName: form.sheetName,
|
||||
skipExisting: form.skipExisting,
|
||||
createCategory: form.createCategory,
|
||||
defaultFiles: '[]'
|
||||
createCategory: form.createCategory
|
||||
};
|
||||
const merchantId = getMerchantId();
|
||||
if (merchantId) {
|
||||
|
||||
Reference in New Issue
Block a user