fix: 修复类型分配

This commit is contained in:
spiritlhl 2025-08-01 13:59:14 +00:00
parent bf0dc1c95f
commit 461c28f3d1

View File

@ -39,8 +39,6 @@ type PoPResult struct {
Result string
}
// === 分类映射 ===
var tier1Global = map[string]string{
"174": "Cogent",
"1299": "Arelion",
@ -93,8 +91,6 @@ var ixps = map[string]string{
"6695": "DE-CIX",
}
// === 工具函数 ===
func getISPAbbr(asn, name string) string {
if abbr, ok := tier1Global[asn]; ok {
return abbr