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