This commit is contained in:
suyl
2021-05-11 16:09:10 +08:00
parent bcebad3b41
commit 706167fad2
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ type GetCoordinateFromAddressByPageAllResult struct {
Shopid []interface{} `json:"shopid"`
Shopinfo string `json:"shopinfo"`
Poiweight []interface{} `json:"poiweight"`
Distance []interface{} `json:"distance"`
Distance string `json:"distance"`
Photos []interface{} `json:"photos"`
}

View File

@@ -16,7 +16,7 @@ func TestGetCoordinateFromAddressByPage(t *testing.T) {
}
func TestGetCoordinateFromAddressByPageAll(t *testing.T) {
result, err := autonaviAPI.GetCoordinateFromAddressByPageAll("重庆市南岸区南坪正街1号", 500100)
result, err := autonaviAPI.GetCoordinateFromAddressByPageAll("重庆市渝北区龙山大道111号“龙湖紫都城”", 500100)
if err != nil {
t.Fatal(err)
}