feat: add admin file health filters

This commit is contained in:
Lan
2026-06-03 05:55:18 +08:00
parent 1f0b0b791c
commit 1ba0d2a044
2 changed files with 86 additions and 5 deletions
+2
View File
@@ -258,6 +258,7 @@ async def file_list(
keyword: str = "",
status: str = "",
type: str = "",
health: str = "",
sortBy: str = "created_at",
sortOrder: str = "desc",
file_service: FileService = Depends(get_file_service),
@@ -270,6 +271,7 @@ async def file_list(
keyword,
status=status,
file_type=type,
health=health,
sort_by=sortBy,
sort_order=sortOrder,
)