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