feat:增加训练场和错题集接口

This commit is contained in:
2026-07-29 19:51:02 +08:00
parent 613eed541f
commit 0bcd749d27
9 changed files with 314 additions and 16 deletions

View File

@@ -121,7 +121,7 @@ async def get_file(db: AsyncSession, file_id: int) -> LibraryFileResponse:
type=q.type,
question=q.question,
options=q.options,
answer=q.answer,
answer=q.answer
)
for q in file.questions
],