This commit is contained in:
2026-07-09 15:16:22 +08:00
parent 2c0a51883c
commit a75b863f16
9 changed files with 219 additions and 162 deletions
+12
View File
@@ -358,6 +358,11 @@ async def list_history_grouped_days(
),
examples=["shot_replicate"],
),
keyword: str | None = Query(
None,
description="提示词搜索关键词,模糊匹配 original_prompt 字段",
examples=["猫咪"],
),
current_user: User = Depends(get_current_user),
db: AsyncSession = Depends(get_db),
):
@@ -368,6 +373,7 @@ async def list_history_grouped_days(
page=page,
page_size=page_size,
history_source=history_source,
keyword=keyword,
)
@@ -481,6 +487,11 @@ async def list_history_day_items(
),
examples=["hot_opening_replicate"],
),
keyword: str | None = Query(
None,
description="提示词搜索关键词,模糊匹配 original_prompt 字段",
examples=["猫咪"],
),
current_user: User = Depends(get_current_user),
db: AsyncSession = Depends(get_db),
):
@@ -492,6 +503,7 @@ async def list_history_day_items(
page=page,
page_size=page_size,
history_source=history_source,
keyword=keyword,
)