feat: Implement city risk profiles data collection.

This commit is contained in:
2569718930@qq.com
2026-03-05 17:00:24 +08:00
parent 5bbbd33e2b
commit 1df14c6d3b
+1 -1
View File
@@ -24,7 +24,7 @@ CITY_RISK_PROFILES = {
def get_city_risk_profile(city: str) -> dict:
"""获取城市的风险档案"""
city_lower = city_name.lower().strip()
city_lower = city.lower().strip()
city_key = city_lower
return CITY_RISK_PROFILES.get(city_key)