From 494f2ac819274ebaeffc5e5ccad32ae0e18f78ca Mon Sep 17 00:00:00 2001 From: sjlleo Date: Wed, 8 Jun 2022 20:10:17 +0800 Subject: [PATCH] =?UTF-8?q?remove:=20=E8=BF=87=E4=BA=8E=E5=85=B7=E4=BD=93?= =?UTF-8?q?=E7=9A=84=E5=9C=B0=E5=8C=BA=E4=BF=A1=E6=81=AF=EF=BC=8C=E6=AD=A4?= =?UTF-8?q?=E7=B1=BB=E4=BF=A1=E6=81=AF=E5=BE=80=E5=BE=80=E7=B2=BE=E5=87=86?= =?UTF-8?q?=E5=BA=A6=E6=9C=89=E5=BE=85=E8=80=83=E5=AF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- printer/printer.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/printer/printer.go b/printer/printer.go index 1ba9227..75285d6 100644 --- a/printer/printer.go +++ b/printer/printer.go @@ -62,9 +62,6 @@ func formatIpGeoData(ip string, data *ipgeo.IPGeoData) string { if data.Owner == "" { data.Owner = data.Isp } - if data.District != "" { - data.City = data.City + ", " + data.District - } if data.Prov == "" && data.City == "" { // anyCast或是骨干网数据不应该有国家信息 data.Owner = data.Owner + ", " + data.Owner