This commit is contained in:
邹宗楠
2023-09-22 10:38:32 +08:00
parent ecbce245d1
commit ff75e33226

View File

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