v1.2版本更新发布

This commit is contained in:
canglan committed 2026-04-22 00:59:29 +08:00
1 parent 194c076456
commit 4121e9624f
26 files changed
+1323 -61

No files matched your search

+3 -1
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