feat: Implement PolyWeather web application with FastAPI backend for weather data analysis and a Leaflet-based frontend.

This commit is contained in:
2569718930@qq.com
2026-03-05 18:02:11 +08:00
parent 37aaf1f909
commit e4a5be660f
3 changed files with 45 additions and 0 deletions
+1
View File
@@ -548,6 +548,7 @@ async def list_cities():
"airport": risk.get("airport_name", ""),
"icao": risk.get("icao", ""),
"temp_unit": "fahrenheit" if info["f"] else "celsius",
"is_major": CITY_REGISTRY.get(name, {}).get("is_major", True),
}
)
return {"cities": out}