From ff75e33226d4dcf9225319107f496213a939d141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 22 Sep 2023 10:38:32 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index e356d847c..3898d3b20 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -63,8 +63,8 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId if v.Children != nil && len(v.Children) != 0 { for _, c := range v.Children { globals.SugarLogger.Debugf("==Children : %s", utils.Format4Output(c, false)) - if err := toApi.RetailCatUpdate(toStore.VendorStoreID, v.Name, &mtwmapi.Param4UpdateCat{ - //CategoryNameOrigin: v.Name, + if err := toApi.RetailCatUpdate(toStore.VendorStoreID, c.Name, &mtwmapi.Param4UpdateCat{ + CategoryNameOrigin: v.Name, CategoryCodeOrigin: v.Code, CategoryCode: v.Code, SecondaryCategoryCode: c.Code,