1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user