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

View File

@@ -301,6 +301,7 @@ func (a *API) RetailBatchInitData(trackInfo, poiCode string, foodDataList []map[
result, err := a.AccessAPI2("retail/batchinitdata", false, map[string]interface{}{ result, err := a.AccessAPI2("retail/batchinitdata", false, map[string]interface{}{
KeyAppPoiCode: poiCode, KeyAppPoiCode: poiCode,
"food_data": string(utils.MustMarshal(foodDataList)), "food_data": string(utils.MustMarshal(foodDataList)),
"operate_type": 2,
}, resultKeyMsg, trackInfo) }, resultKeyMsg, trackInfo)
globals.SugarLogger.Debugf("======foodDataList := %s", utils.Format4Output(foodDataList, false)) globals.SugarLogger.Debugf("======foodDataList := %s", utils.Format4Output(foodDataList, false))
globals.SugarLogger.Debugf("======poicode := %s", poiCode) globals.SugarLogger.Debugf("======poicode := %s", poiCode)