This commit is contained in:
邹宗楠
2024-04-03 18:32:31 +08:00
parent adc6880a54
commit 45a7587244

View File

@@ -299,8 +299,9 @@ func (a *API) RetailInitData(trackInfo, poiCode, foodCode string, params map[str
func (a *API) RetailBatchInitData(trackInfo, poiCode string, foodDataList []map[string]interface{}) (failedFoodList []*AppFoodResult, err error) {
result, err := a.AccessAPI2("retail/batchinitdata", false, map[string]interface{}{
KeyAppPoiCode: poiCode,
"food_data": string(utils.MustMarshal(foodDataList)),
KeyAppPoiCode: poiCode,
"food_data": string(utils.MustMarshal(foodDataList)),
"operate_type": 2,
}, resultKeyMsg, trackInfo)
globals.SugarLogger.Debugf("======foodDataList := %s", utils.Format4Output(foodDataList, false))
globals.SugarLogger.Debugf("======poicode := %s", poiCode)