refactor(data): 升级至 v3.0 多级拓扑目录并引入 map.json 全球索引

This commit is contained in:
hotyue
2026-04-10 07:28:43 +00:00
parent 3730bd638a
commit cb788ab730
3 changed files with 35 additions and 1 deletions

34
data/map.json Normal file
View File

@@ -0,0 +1,34 @@
{
"version": "3.0.0",
"updated_at": "2026-04-09",
"countries": [
{
"id": "US",
"name": "United States (美国)",
"keyword_file": "kw_US.txt",
"states": [
{
"id": "CA",
"name": "California (加州)",
"cities": [
{ "id": "Los_Angeles", "name": "Los Angeles (洛杉矶)" }
]
}
]
},
{
"id": "JP",
"name": "Japan (日本)",
"keyword_file": "kw_JP.txt",
"states": [
{
"id": "Default",
"name": "Default State",
"cities": [
{ "id": "Tokyo", "name": "Tokyo (东京)" }
]
}
]
}
]
}

View File

@@ -1,5 +1,5 @@
{
"region_name": "美国 (美西)",
"region_name": "United States - Los Angeles",
"google_module": {
"base_lat": 34.0522,
"base_lon": -118.2437,