From 02f33bf80f55033d5b30db55caf2e8ee1bbc6238 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:26:16 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 82dfe5f5e..c0f368f3f 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -62,7 +62,7 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId } if v.Children != nil && len(v.Children) != 0 { for _, c := range v.Children { - 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,