跨域bug修复2

This commit is contained in:
2026-04-14 15:56:57 +08:00
parent 74053bdbdc
commit fd3535f884
14 changed files with 65 additions and 65 deletions

View File

@@ -88,7 +88,6 @@ async def get_attendance_records(
@router.get("/ranking")
async def get_ranking(
request: Request,
class_id: Optional[int] = None,
limit: int = Query(50, ge=1, le=100)
):
"""
@@ -98,7 +97,6 @@ async def get_ranking(
result = await StudentService.get_ranking(
user_id=user["user_id"],
class_id=class_id,
limit=limit
)