refactor: 移除四所统计分析页交易日历
删除日历 UI、bootstrap 与 /api/stats/calendar 注册;保留日/周/月统计表。内照明心档案日历不受影响。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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": []}
|
||||
|
||||
Reference in New Issue
Block a user