fix: 内网IP英文显示
This commit is contained in:
@@ -71,6 +71,9 @@ func RealAddressByIp(ip string) string {
|
||||
province := parts[2]
|
||||
city := parts[3]
|
||||
if province == "0" && city != "0" {
|
||||
if city == "内网IP" {
|
||||
return "Intranet IP" // 内网IP
|
||||
}
|
||||
return city
|
||||
}
|
||||
return province + " " + city
|
||||
|
||||
Reference in New Issue
Block a user