From 4b165519ed0d4064ebe10a1c5f47288e7bf3a38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 25 Oct 2023 16:49:46 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 6be3c2546..0e63cf802 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -241,17 +241,21 @@ func BatchInitData(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi *mt failedFoodList, err2 := toApi.RetailBatchInitData(ctx.GetTrackInfo(), vendorStoreID, foodDataList[i*10:]) if err2 != nil { globals.SugarLogger.Debugf("RetailBatchInitData err3 :%v", err2) + globals.SugarLogger.Debugf("RetailBatchInitData1 failedFoodList :%s", utils.Format4Output(failedFoodList, false)) } if len(failedFoodList) != 0 { globals.SugarLogger.Debugf("RetailBatchInitData err4 :%s", utils.Format4Output(failedFoodList, false)) + globals.SugarLogger.Debugf("RetailBatchInitData2 failedFoodList :%s", utils.Format4Output(failedFoodList, false)) } } else { failedFoodList, err2 := toApi.RetailBatchInitData(ctx.GetTrackInfo(), vendorStoreID, foodDataList[i*10:(i+1)*10]) if err2 != nil { globals.SugarLogger.Debugf("RetailBatchInitData err3 :%v", err2) + globals.SugarLogger.Debugf("RetailBatchInitData3 failedFoodList :%s", utils.Format4Output(failedFoodList, false)) } if len(failedFoodList) != 0 { globals.SugarLogger.Debugf("RetailBatchInitData err4 :%s", utils.Format4Output(failedFoodList, false)) + globals.SugarLogger.Debugf("RetailBatchInitData4 failedFoodList :%s", utils.Format4Output(failedFoodList, false)) } }