From 720c23a67e612b2687beff596052663986b78b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 26 Jan 2021 18:10:48 +0800 Subject: [PATCH] aa --- business/jxstore/cms/sync2.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/sync2.go b/business/jxstore/cms/sync2.go index 25c669144..2e52fe5d7 100644 --- a/business/jxstore/cms/sync2.go +++ b/business/jxstore/cms/sync2.go @@ -54,7 +54,9 @@ func syncCategories(ctx *jxcontext.Context, db *dao.DaoDB, parentTask tasksch.IT //表示是不用京西分类,要用平台分类 if catVendorInfo.IsJxCat == model.YES { catVendorInfo.Seq = catVendorInfo.VendorCategorySeq - catVendorInfo.Name = catVendorInfo.VendorCategoryName + if catVendorInfo.VendorCategoryName != "" { + catVendorInfo.Name = catVendorInfo.VendorCategoryName + } } if multiStoresHandler, ok := partner.GetPurchasePlatformFromVendorID(catVendorInfo.VendorID).(partner.IMultipleStoresHandler); ok { if model.IsSyncStatusDelete(catVendorInfo.CatSyncStatus) { //删除