跨域bug修复2

This commit is contained in:
canglan committed 2026-04-14 15:56:57 +08:00
1 parent 74053bdbdc
commit fd3535f884
14 files changed
+65 -65

No files matched your search

-2
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
)