jcq消费消息

This commit is contained in:
苏尹岚
2020-07-15 15:18:44 +08:00
parent 584dbe8d79
commit 56995b191b
6 changed files with 242 additions and 18 deletions

View File

@@ -85,7 +85,7 @@ func TestGetDistricts(t *testing.T) {
}
func TestGetCoordinateFromAddress(t *testing.T) {
lng, lat, districtCode := autonaviAPI.GetCoordinateFromAddress("北京昌平区城区军民路1号院", "")
lng, lat, districtCode := autonaviAPI.GetCoordinateFromAddress("广东广州市白云区棠景街道水边街棠下村东一街36号可放北街的菜鸟驿站", "广州")
t.Logf("lng:%f, lat:%f, districtCode:%d", lng, lat, districtCode)
}
@@ -151,7 +151,7 @@ func TestBatchWalkingDistance(t *testing.T) {
}
func TestAA(t *testing.T) {
result, err := autonaviAPI.GetCoordinateAreaInfo(121.237244, 31.052816)
result, err := autonaviAPI.GetCoordinateAreaInfo(113.325814, 23.133907)
if err != nil {
t.Fatal(err)
}