aa
This commit is contained in:
@@ -86,7 +86,7 @@ type GetCoordinateFromAddressByPageAllResult struct {
|
|||||||
Shopid []interface{} `json:"shopid"`
|
Shopid []interface{} `json:"shopid"`
|
||||||
Shopinfo string `json:"shopinfo"`
|
Shopinfo string `json:"shopinfo"`
|
||||||
Poiweight []interface{} `json:"poiweight"`
|
Poiweight []interface{} `json:"poiweight"`
|
||||||
Distance []interface{} `json:"distance"`
|
Distance string `json:"distance"`
|
||||||
Photos []interface{} `json:"photos"`
|
Photos []interface{} `json:"photos"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ func TestGetCoordinateFromAddressByPage(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetCoordinateFromAddressByPageAll(t *testing.T) {
|
func TestGetCoordinateFromAddressByPageAll(t *testing.T) {
|
||||||
result, err := autonaviAPI.GetCoordinateFromAddressByPageAll("重庆市南岸区南坪正街1号", 500100)
|
result, err := autonaviAPI.GetCoordinateFromAddressByPageAll("重庆市渝北区龙山大道111号“龙湖紫都城”", 500100)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user