From 37d26e22d4d176cb1263a62c7eae4b34e0d4dc17 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:16:15 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 1360a1302..82dfe5f5e 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -63,7 +63,9 @@ 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{ - //CategoryCode: v.Code, + //CategoryNameOrigin: v.Name, + CategoryCodeOrigin: v.Code, + CategoryCode: v.Code, SecondaryCategoryCode: c.Code, SecondaryCategoryName: c.Name, Sequence: c.Sequence,