diff --git a/business/jxstore/cms/sync2.go b/business/jxstore/cms/sync2.go index 9bbd8aef8..25c669144 100644 --- a/business/jxstore/cms/sync2.go +++ b/business/jxstore/cms/sync2.go @@ -51,6 +51,11 @@ func syncCategories(ctx *jxcontext.Context, db *dao.DaoDB, parentTask tasksch.IT if catVendorInfo.MapID == 0 { return nil, fmt.Errorf("分类:%d的数据异常", catVendorInfo.ID) } + //表示是不用京西分类,要用平台分类 + if catVendorInfo.IsJxCat == model.YES { + catVendorInfo.Seq = catVendorInfo.VendorCategorySeq + catVendorInfo.Name = catVendorInfo.VendorCategoryName + } if multiStoresHandler, ok := partner.GetPurchasePlatformFromVendorID(catVendorInfo.VendorID).(partner.IMultipleStoresHandler); ok { if model.IsSyncStatusDelete(catVendorInfo.CatSyncStatus) { //删除 if !dao.IsVendorThingIDEmpty(catVendorInfo.VendorCatID) &&