v1.2版本更新发布

This commit is contained in:
2026-04-22 00:59:29 +08:00
parent 194c076456
commit 4121e9624f
26 changed files with 1323 additions and 61 deletions

View File

@@ -123,9 +123,11 @@ class StudentService:
) -> Dict[str, Any]:
"""获取排行榜(单班级系统)"""
ranking = await StudentModel.get_ranking(limit=limit)
total_students = await StudentModel.get_total_count()
return {
"ranking": ranking
"ranking": ranking,
"total_students": total_students
}
@staticmethod