Skip to content

Commit 1573fc8

Browse files
committed
修正对外预报API域名
1 parent 3081e0e commit 1573fc8

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Public docs center: `/docs/intro` on the main site (bilingual product documentat
1313

1414
## Product Status (2026-08-22)
1515

16-
- Forecast API live: `https://polyweather.top/api/v1/forecasts` returns per-city DEB prediction, peak time, and hourly temperature curves for a 24-city default watchlist (entitlement-token auth); results are cached for 5 minutes.
16+
- Forecast API live: `https://api.polyweather.top/api/v1/forecasts` returns per-city DEB prediction, peak time, and hourly temperature curves for a 24-city default watchlist (entitlement-token auth); results are cached for 5 minutes.
1717
- DEB normal probability engine live: integer-degree probability buckets come from the DEB normal engine (`deb_normal`).
1818
- WeatherNext2 removed: the Google WeatherNext2 GCS Zarr worker was retired; probability and forecasts rely on the DEB blend over the Open-Meteo model suite.
1919
- Referral/invite pricing removed; points remain redeemable for payment discounts (`500 pts = 1 USDC`, monthly max `3 USDC`, quarterly max `8 USDC`). Useful user feedback can also receive manual point rewards through ops.

‎README_ZH.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- 已上线支付运行态与审计接口:`/api/payments/runtime`。
1616
- 已上线轻量运营后台:`/ops`(会员、用户反馈处理、积分、补分、支付异常单)。
1717
- 轻量可观测性:`/healthz`、`/api/system/status`、`/api/system/cache-status`、`/api/system/priority-warm`、`/metrics`(ops 鉴权)+ `scripts/check_ops_health.py` 巡检(14 个外部服务探测)。
18-
- 已上线预测 API:`https://polyweather.top/api/v1/forecasts` 输出 DEB 预测、最高温时间和逐小时温度曲线,默认 24 城监控清单(entitlement token 鉴权),结果缓存 5 分钟;registry 全量 51 城,深圳结算为宝安机场 ZGSZ METAR。
18+
- 已上线预测 API:`https://api.polyweather.top/api/v1/forecasts` 输出 DEB 预测、最高温时间和逐小时温度曲线,默认 24 城监控清单(entitlement token 鉴权),结果缓存 5 分钟;registry 全量 51 城,深圳结算为宝安机场 ZGSZ METAR。
1919
- 终端图表支持 3 天(72h)窗口:观测 / 模型共识 median-min-max / DEB 锚点;x 轴每 6 小时刻度 + 午夜日期标记。
2020
- 机场 METAR 报文曲线已全部移除(用户需求):仅保留结算源、官方增强网络(JMA / HKO)与 TAF 信号曲线;MGM(土耳其)数据源已整套下线,安卡拉/伊斯坦布尔回归 METAR 结算。
2121
- DEB 校准改进:温度段独立 σ(≥37°C cov90 0.820→0.893)、城市偏差近 14 天加权(模式切换 2 周收敛)、推理校正上限 3→5°C(7 月高估 4-6°C 不再截断)。
@@ -119,7 +119,7 @@ npm run dev
119119
## 近期更新
120120

121121
- 概率主引擎为 DEB 正态引擎(`deb_normal`)。
122-
- 预测 API 已上线(`https://polyweather.top/api/v1/forecasts`,结果缓存 5 分钟)。
122+
- 预测 API 已上线(`https://api.polyweather.top/api/v1/forecasts`,结果缓存 5 分钟)。
123123
- 机场 METAR 报文曲线全部移除;WeatherNext2 已移除;Telegram 群依赖与积分邀请机制已下线。
124124
- 数据源清理:Wunderground、台北 CWA、AMSC AWOS(中国跑道)、NMC/CMA(中国内地)与流浮山 LFS 结算已移除;深圳结算切换为宝安 ZGSZ METAR;NOAA 结算源切为免费 aviationweather METAR。
125125
- DEB 校准:温度段独立 σ、近 14 天加权城市偏差、推理校正上限 3→5°C。

‎docs/API_ZH.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
## 1. 基础信息
1010

11-
- 后端直连:`http://127.0.0.1:8000`
12-
- 前端 BFF:`https://polyweather.top/api/*`
11+
- 后端 API:`https://api.polyweather.top`
12+
- 前端 BFF:`https://polyweather.top/api/*`(仅适用于已提供对应代理的前端接口)
1313
- 返回格式:`application/json`
1414

1515
## 2. 请求链路
@@ -43,9 +43,9 @@ flowchart LR
4343

4444
PolyWeather API v1 的标准对外预测接口,提供 DEB 融合预测、多模型日最高温和逐模型逐小时温度曲线。鉴权同 pro 接口(entitlement token),结果缓存 5 分钟。
4545

46-
完整地址(默认监控城市):`https://polyweather.top/api/v1/forecasts`
46+
完整地址(默认监控城市):`https://api.polyweather.top/api/v1/forecasts`
4747

48-
也可通过 `cities` 参数筛选城市,例如:`https://polyweather.top/api/v1/forecasts?cities=beijing`
48+
也可通过 `cities` 参数筛选城市,例如:`https://api.polyweather.top/api/v1/forecasts?cities=beijing`
4949

5050
参数:
5151

0 commit comments

Comments
 (0)