fix(更改区域): 区域更改为运营商

This commit is contained in:
2021-07-08 11:39:43 +08:00
parent ccbae8531d
commit f37264f5ab
5 changed files with 35 additions and 36 deletions

View File

@ -12,9 +12,9 @@ func init() {
func TestQueryIP(t *testing.T) {
queryIp := "1.1.1.1"
city, area, err := QueryIP(queryIp)
city, isp, err := QueryIP(queryIp)
if err != nil {
t.Fatal(err)
}
t.Logf("城市:%s区域%s", city, area)
t.Logf("城市:%s运营商%s", city, isp)
}