dev2 #1
@ -20,6 +20,9 @@ export async function updateGoods(data) {
|
||||
return request({
|
||||
url: "/admin/shop/shop-sync-productMapper/udpateProductMapping",
|
||||
method: "put",
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data,
|
||||
});
|
||||
}
|
||||
@ -28,6 +31,9 @@ export async function deleteGoods(data) {
|
||||
return request({
|
||||
url: "/admin/shop/shop-sync-productMapper/delProductMapping",
|
||||
method: "delete",
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data,
|
||||
});
|
||||
}
|
||||
@ -55,6 +61,9 @@ export async function batchExportGoods(data) {
|
||||
return request({
|
||||
url: "/admin/shop/shop-sync-productMapper/exportSelected",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data,
|
||||
});
|
||||
}
|
||||
@ -62,7 +71,7 @@ export async function batchExportGoods(data) {
|
||||
export async function getProductMapping(data) {
|
||||
return request({
|
||||
url: "/admin/shop/shop-sync-productMapper/getProductMapping",
|
||||
method: "post",
|
||||
method: "get",
|
||||
data,
|
||||
});
|
||||
}
|
||||
@ -86,6 +95,9 @@ export async function syncProductMaping() {
|
||||
return request({
|
||||
url: `/admin/shop/shop-sync-productMapper/syncProductMaping`,
|
||||
method: "put",
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@ -101,7 +113,7 @@ export default {
|
||||
getProductMapperList,
|
||||
getShopList,
|
||||
updateGoods,
|
||||
deleteGoods,
|
||||
deleteGoods,/* */
|
||||
downloadTempGoods,
|
||||
batchCreateGoods,
|
||||
batchExportGoods,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user