This commit is contained in:
邹宗楠
2023-10-25 16:19:31 +08:00
parent 40e8b5d533
commit 31ecbdf60c
5 changed files with 4 additions and 219 deletions

View File

@@ -244,8 +244,6 @@ func (a *API) RetailListAll(poiCode string, offset int) (foodList []*AppFood, er
data := make([]*AppFood, 0, 0)
offset = offset * GeneralMaxLimit
batchList, err2 := a.RetailList(poiCode, offset, GeneralMaxLimit) // GeneralMaxLimit
globals.SugarLogger.Debugf("==========batchList %d", len(batchList))
globals.SugarLogger.Debugf("==========batchList %s", utils.Format4Output(err2, false))
if err = err2; err == nil {
data = append(data, batchList...)
}