feat(web): show cumulative fan range and limit recent records

This commit is contained in:
kairee committed 2026-11-01 02:14:10 +08:00
1 parent b6a9f598b5
commit d8e9a7b0f0
5 files changed
+48 -9

No files matched your search

+1
View File
@@ -365,6 +365,7 @@ border-color:#3a2c22;color:#f3e9dc}button{background:#e9b97c;color:#2a1a10}}
self._send_json(HTTPStatus.OK, queries.fans(
_optional_int(query, "mid"),
days=_int_param(query, "days", 90, 1, 3650),
recent_days=_int_param(query, "recent_days", 14, 1, 3650),
))
return
if path == "/api/candidates":