This commit is contained in:
gazebo
2019-09-11 20:45:11 +08:00
parent 6fb31375cb
commit 9b1e3dfc2f

View File

@@ -551,9 +551,9 @@ func (a *API) GetStoreList2(lng float64, lat float64) (shopListInfo *PageListInf
shopListInfo = retVal
} else {
shopListInfo.ShopList = append(shopListInfo.ShopList, retVal.ShopList...)
if len(retVal.ShopList) < pageSize {
break
}
}
if len(retVal.ShopList) < pageSize {
break
}
pageNo++
} else {