This commit is contained in:
sjlleo
2022-06-02 21:48:19 +08:00
committed by GitHub
parent 80a75288d2
commit 1049986ebc

View File

@@ -52,9 +52,9 @@ func formatIpGeoData(ip string, data *ipgeo.IPGeoData) string {
// TODO: 判断阿里云和腾讯云内网,数据不足,有待进一步完善
// TODO: 移动IDC判断到Hop.fetchIPData函数减少API调用
if strings.HasPrefix(ip, "9.") {
res = append(res, "LAN Address", "")
res = append(res, "LAN Address")
} else if strings.HasPrefix(ip, "11.") {
res = append(res, "LAN Address", "")
res = append(res, "LAN Address")
} else if data.Country == "" {
res = append(res, "LAN Address")
} else {