diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 1473916c1..4d18d56d9 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -369,13 +369,15 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi errList = append(errList, failedFoodList...) } } else { - failedFoodList, _ := toApi.RetailBatchInitData(ctx.GetTrackInfo(), vendorStoreID, foodDataList[i*10:(i+1)*10]) + failedFoodList, err := toApi.RetailBatchInitData(ctx.GetTrackInfo(), vendorStoreID, foodDataList[i*10:(i+1)*10]) if len(failedFoodList) != 0 { globals.SugarLogger.Debugf("failedFoodList := %s", utils.Format4Output(failedFoodList, false)) errList = append(errList, failedFoodList...) } + globals.SugarLogger.Debugf("========failedFoodList : = %s", utils.Format4Output(failedFoodList, false)) + globals.SugarLogger.Debugf("========failedFoodList : = %v", err) } - + globals.SugarLogger.Debugf("fromFoodList===============i: %d", 222222222) } return errList, nil