This commit is contained in:
2026-11-04 16:21:18 +08:00
parent cc66e98f61
commit c2775b732e
3 changed files with 28 additions and 9 deletions
+3
View File
@@ -39,6 +39,9 @@ uv run ruff check .
`updataTime` types remain number for realtime and string for official.
Redis locks prevent duplicate work across workers. Realtime region pages stay
8 seconds apart. Failures retain the last successful data for up to 24 hours.
Before all realtime regions are available, the response body has `code=202`
and `data=[]`; progress appears only in `message`. A successful response never
substitutes a partially populated region list for the complete dataset.
- Realtime selects rows 4–10 (slice `[3:10]`), converts each original unit price
with `1 / Price`, then averages those ratios in 万金币/元. Rounding to 2 decimals
happens only after averaging; prices are not rounded before conversion. A new