From e7a169a62ee72c770016aa128e686f6f1e70a68e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 3 Jun 2024 14:32:50 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index e7d2a9f27..e644cf951 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -361,14 +361,14 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi if i == count-1 { failedFoodList, _ := toApi.RetailBatchInitData(ctx.GetTrackInfo(), vendorStoreID, foodDataList[i*10:]) if len(failedFoodList) != 0 { - errList = append(errList, failedFoodList...) globals.SugarLogger.Debugf("failedFoodList := %s", utils.Format4Output(failedFoodList, false)) + errList = append(errList, failedFoodList...) } } else { failedFoodList, _ := toApi.RetailBatchInitData(ctx.GetTrackInfo(), vendorStoreID, foodDataList[i*10:(i+1)*10]) if len(failedFoodList) != 0 { - errList = append(errList, failedFoodList...) globals.SugarLogger.Debugf("failedFoodList := %s", utils.Format4Output(failedFoodList, false)) + errList = append(errList, failedFoodList...) } }