feat: implement PolyWeather web map API backend with data processing, caching, and entitlement, and add related documentation.

This commit is contained in:
2569718930@qq.com
2026-03-11 11:29:56 +08:00
parent 6273768cc2
commit 23e2959404
4 changed files with 35 additions and 35 deletions
+10 -10
View File
@@ -18,15 +18,15 @@ Official dashboard: [polyweather-pro.vercel.app](https://polyweather-pro.vercel.
mindmap
root((PolyWeather Pro))
Data Layer
"METAR(Aviation Weather / METAR)"
"MGM(Turkey MGM)"
"Station 17130(Ankara Center 17130)"
[METAR (Aviation Weather / METAR)]
[MGM (Turkey MGM)]
[Station 17130 (Ankara Center 17130)]
Open-Meteo
"weather.gov(US cities)"
"Polymarket(P0 Read-only)"
[weather.gov (US cities)]
[Polymarket (P0 Read-only)]
Analysis Layer
"DEB(Dynamic Error Balancing)"
"Probability Engine(mu + buckets)"
[DEB (Dynamic Error Balancing)]
[Probability Engine (mu + buckets)]
Trend Engine
Risk Profiles
Mispricing Radar
@@ -36,9 +36,9 @@ mindmap
Telegram Bot
Alert Push
Ops Layer
"Docker Compose(VPS backend + bot)"
"Vercel(frontend)"
"Cache + force_refresh"
[Docker Compose (VPS backend + bot)]
[Vercel (frontend)]
[Cache + force_refresh]
Speed Insights
```
+12 -12
View File
@@ -18,27 +18,27 @@
mindmap
root((PolyWeather Pro))
数据层
"METAR(Aviation Weather / METAR)"
"MGM(土耳其 MGM)"
"安卡拉主站(17130 Center)"
[METAR (Aviation Weather / METAR)]
[MGM (土耳其 MGM)]
[安卡拉主站 (17130 Center)]
Open-Meteo
"weather.gov(美国城市)"
"Polymarket(P0 只读)"
[weather.gov (美国城市)]
[Polymarket (P0 只读)]
分析层
"DEB(动态误差平衡)"
"概率引擎(mu + 桶分布)"
[DEB (动态误差平衡)]
[概率引擎 (mu + 桶分布)]
趋势引擎
城市风险档案
错价雷达
交付层
FastAPI
"Next.js 仪表盘"
"Telegram Bot"
[Next.js 仪表盘]
[Telegram Bot]
预警推送
运维层
"Docker Compose(VPS)"
"Vercel(前端)"
"缓存 + force_refresh"
[Docker Compose (VPS)]
[Vercel (前端)]
[缓存 + force_refresh]
Speed Insights
```
+8 -8
View File
@@ -23,19 +23,19 @@
mindmap
root((PolyWeather API))
城市列表
"GET /api/cities"
[GET /api/cities]
城市主数据
"GET /api/city/{name}"
"GET /api/city/{name}/summary"
"GET /api/city/{name}/detail"
[GET /api/city/:name]
[GET /api/city/:name/summary]
[GET /api/city/:name/detail]
历史数据
"GET /api/history/{name}"
[GET /api/history/:name]
关键对象
current
forecast
"probabilities(mu + distribution)"
multi_model / multi_model_daily
"market_scan(P0 只读)"
[probabilities (mu + distribution)]
[multi_model / multi_model_daily]
[market_scan (P0 只读)]
```
---
+5 -5
View File
@@ -25,12 +25,12 @@ mindmap
Web Dashboard
VIP Bundle
Pricing
Entry 1 USD
Dashboard 5 USD
Bundle 5.5 USD
[Entry 1 USD]
[Dashboard 5 USD]
[Bundle 5.5 USD]
Access Control
"Manual activation(P1)"
"Wallet/USDC detection(P2)"
[Manual activation (P1)]
[Wallet/USDC detection (P2)]
Entitlement middleware
Growth
Accuracy reports