This commit is contained in:
邹宗楠
2023-09-22 10:26:16 +08:00
parent 37d26e22d4
commit 02f33bf80f

View File

@@ -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,