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