This commit is contained in:
Leo
2025-11-14 00:02:45 +08:00
parent 47951ab5ea
commit 101b3dae54
2 changed files with 63 additions and 50 deletions

View File

@@ -43,7 +43,7 @@ export function delErpProduct(ids) {
})
}
// 拉取商品列表
// 拉取商品列表(单页,兼容)
export function pullProductList(data) {
return request({
url: '/jarvis/erpProduct/pull',
@@ -52,6 +52,15 @@ export function pullProductList(data) {
})
}
// 全量同步商品(自动遍历所有页码)
export function syncAllProducts(data) {
return request({
url: '/jarvis/erpProduct/syncAll',
method: 'post',
params: data
})
}
// 批量上架
export function batchPublish(data) {
return request({