diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index aab1d8531..77efcdb2e 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -63,7 +63,7 @@ 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, c.Name, &mtwmapi.Param4UpdateCat{ + if err := toApi.RetailCatUpdate(toStore.VendorStoreID, v.Name, &mtwmapi.Param4UpdateCat{ //CategoryNameOrigin: v.Name, //CategoryCodeOrigin: v.Code, //CategoryCode: v.Code,