This commit is contained in:
邹宗楠
2025-02-13 11:52:28 +08:00
parent 78536b2458
commit 45700454e1

View File

@@ -273,13 +273,8 @@ func FullSyncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
case 1: case 1:
if singleStoreHandler != nil { if singleStoreHandler != nil {
// 同步分类在同步商品 // 同步分类在同步商品
if !isAdd {
_, err = SyncStoreSkuNew(ctx, task, 0, vendorID, storeID, vendorStoreID, "", nil, nil, excludeSkuIDs, false, isContinueWhenError) _, err = SyncStoreSkuNew(ctx, task, 0, vendorID, storeID, vendorStoreID, "", nil, nil, excludeSkuIDs, false, isContinueWhenError)
} }
} else {
// 直接同步商品
err = syncStoreSkuNew(ctx, task, 0, true, vendorID, storeID, "", nil, nil, excludeSkuIDs, false, isContinueWhenError)
}
} }
return retVal, err return retVal, err
}, []int{0, 1}) }, []int{0, 1})