From 68b1ed423813b92c1931112c71945ac823db3491 Mon Sep 17 00:00:00 2001 From: Alirea <2981883527@qq.com> Date: Tue, 30 Sep 2025 08:17:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(api):=20=E5=88=A0=E9=99=A4=E4=B8=80?= =?UTF-8?q?=E4=B8=AAlogger=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/history.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/api/history.py b/app/api/history.py index a206fe5..6064282 100644 --- a/app/api/history.py +++ b/app/api/history.py @@ -50,7 +50,6 @@ async def search_history(history: HistorySearchIn) -> HistorySearchOut: record = await Config.merge_statistic_info(records) # 安全检查:确保 index 字段存在 if "index" not in record: - logger.warning(f"合并统计信息缺少 index 字段,用户: {user}, 日期: {date}") record["index"] = [] record["index"] = [HistoryIndexItem(**_) for _ in record["index"]] record = HistoryData(**record)