1
This commit is contained in:
@@ -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})
|
||||||
|
|||||||
Reference in New Issue
Block a user