gy灵异
This commit is contained in:
@@ -86,6 +86,7 @@ func SyncStoreCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
|
|||||||
storeCatMap := &model.StoreSkuCategoryMap{}
|
storeCatMap := &model.StoreSkuCategoryMap{}
|
||||||
storeCatMap.ID = catInfo.MapID
|
storeCatMap.ID = catInfo.MapID
|
||||||
var failedList []*partner.StoreSkuInfoWithErr
|
var failedList []*partner.StoreSkuInfoWithErr
|
||||||
|
fmt.Println("4444444444444444444444444444444444444444444444")
|
||||||
if catInfo.IsExdSpec == model.YES {
|
if catInfo.IsExdSpec == model.YES {
|
||||||
if vendorID != model.VendorIDEBAI {
|
if vendorID != model.VendorIDEBAI {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -96,8 +97,8 @@ func SyncStoreCategories(ctx *jxcontext.Context, parentTask tasksch.ITask, vendo
|
|||||||
catInfo.Name = catInfo.StoreCatName
|
catInfo.Name = catInfo.StoreCatName
|
||||||
catInfo.Seq = catInfo.StoreCatSeq
|
catInfo.Seq = catInfo.StoreCatSeq
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
fmt.Println("3333333333333333333333333333333333333333333333")
|
||||||
if model.IsSyncStatusDelete(catInfo.CatSyncStatus) { // 删除
|
if model.IsSyncStatusDelete(catInfo.CatSyncStatus) { // 删除
|
||||||
if model.IsSyncStatusDelete(catInfo.CatSyncStatus) && !dao.IsVendorThingIDEmpty(catInfo.VendorCatID) {
|
if model.IsSyncStatusDelete(catInfo.CatSyncStatus) && !dao.IsVendorThingIDEmpty(catInfo.VendorCatID) {
|
||||||
err = handler.DeleteStoreCategory(ctx, storeID, vendorStoreID, catInfo.VendorCatID, level)
|
err = handler.DeleteStoreCategory(ctx, storeID, vendorStoreID, catInfo.VendorCatID, level)
|
||||||
|
|||||||
Reference in New Issue
Block a user