From 9b1e3dfc2f5e115587cee0f8406c843525659ddc Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 11 Sep 2019 20:45:11 +0800 Subject: [PATCH] - up --- platformapi/ebaiapi/store_page.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformapi/ebaiapi/store_page.go b/platformapi/ebaiapi/store_page.go index 2cc075f3..bd29b938 100644 --- a/platformapi/ebaiapi/store_page.go +++ b/platformapi/ebaiapi/store_page.go @@ -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 {