From 1ec3b2e5d8fb968149deaf8bc9471ad6c66e34e5 Mon Sep 17 00:00:00 2001 From: hmo Date: Mon, 27 Apr 2026 19:55:58 +0800 Subject: [PATCH] fix: add login_required_json to statistics API endpoint --- app/routes/students.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/routes/students.py b/app/routes/students.py index eceafca..243d0af 100644 --- a/app/routes/students.py +++ b/app/routes/students.py @@ -378,6 +378,7 @@ def import_students(): @main_bp.route("/api/statistics/students") +@login_required_json def get_student_statistics(): """获取学员统计数据""" # 获取筛选参数