This commit is contained in:
邹宗楠
2024-11-29 14:01:49 +08:00
parent fe6639186e
commit e4a76ccc27

View File

@@ -224,8 +224,6 @@ func SyncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
func SyncStoreSkuNew2(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag int, vendorID, storeID int, vendorStoreID, vendorOrgCode string, nameIDs, skuIDs, excludeSkuIDs []int, useVendorPriceDirectly, isAsync, isContinueWhenError bool) (hint string, err error) {
singleStoreHandler, _ := partner.GetPurchasePlatformFromVendorID(vendorID).(partner.ISingleStoreStoreSkuHandler)
if singleStoreHandler != nil { // 本地创建商品分类
globals.SugarLogger.Debugf("-------------------singleStoreHandler := %s", utils.Format4Output(111111, false))
globals.SugarLogger.Debugf("-------------------singleStoreHandler := %s", utils.Format4Output(singleStoreHandler, false))
if err = CreateStoreCategoryByStoreSku(ctx, vendorID, storeID, vendorStoreID, nameIDs, skuIDs); err != nil {
return "", err
}