diff --git a/platformapi/ebaiapi/store_page.go b/platformapi/ebaiapi/store_page.go index 7bceb410..c693bcaf 100644 --- a/platformapi/ebaiapi/store_page.go +++ b/platformapi/ebaiapi/store_page.go @@ -563,7 +563,7 @@ func (a *API) GetStoreList(lng string, lat string) (retVal map[string]interface{ } func (a *API) GetStoreList2(lng float64, lat float64) (shopListInfo *PageListInfo, err error) { - retVal, err := a.AccessStorePageNoCookie(fmt.Sprintf("/newretail/main/shoplist?channel=kitchen&pn=1&rn=999&lng=%f&lat=%f", lng, lat)) + retVal, err := a.AccessStorePageNoCookie(fmt.Sprintf("/newretail/main/shoplist?channel=kitchen&pn=1&rn=999&lng=%s&lat=%s", fmt.Sprintf("%.6f", lng), fmt.Sprintf("%.6f", lat))) if err == nil { err = utils.Map2StructByJson(retVal, &shopListInfo, true) }