refactor: 移除四所统计分析页交易日历

删除日历 UI、bootstrap 与 /api/stats/calendar 注册;保留日/周/月统计表。内照明心档案日历不受影响。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-30 09:51:10 +08:00
parent 32079bb4c2
commit 4742a0bb9d
13 changed files with 9 additions and 190 deletions
+1 -6
View File
@@ -81,9 +81,4 @@ def trade_records_summary(conn, start_bj: str, end_bj: str, tr_ts: str) -> dict[
def minimal_stats_bundle(reset_hour: int) -> dict[str, Any]:
return {
"stats_reset_hour": reset_hour,
"segments": [],
"initial_calendar": None,
"calendar_bootstrap_json": None,
}
return {"stats_reset_hour": reset_hour, "segments": []}