This commit is contained in:
邹宗楠
2023-09-22 11:11:11 +08:00
parent 76197d7cf0
commit 656983d3dd

View File

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