Files
baseapi/platformapi/autonavi/autonavi_page_test.go
2025-11-20 14:27:08 +08:00

27 lines
612 B
Go

package autonavi
/*
import (
"testing"
"gitrosy.jxc4.com/baseapi/utils"
)
func TestGetCoordinateFromAddressByPage(t *testing.T) {
lng, lat, err := autonaviAPI.GetCoordinateFromAddressByPage("西航港街道珠江路600号2栋108号", 0)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(lng, false))
t.Log(utils.Format4Output(lat, false))
}
func TestGetCoordinateFromAddressByPageAll(t *testing.T) {
result, err := autonaviAPI.GetCoordinateFromAddressByPageAll("西航港街道珠江路600号2栋108号", 0)
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
*/