fix: add login_required_json to statistics API endpoint

This commit is contained in:
hmo
2026-04-27 19:55:58 +08:00
parent 7256cb44eb
commit 1ec3b2e5d8
+1
View File
@@ -378,6 +378,7 @@ def import_students():
@main_bp.route("/api/statistics/students") @main_bp.route("/api/statistics/students")
@login_required_json
def get_student_statistics(): def get_student_statistics():
"""获取学员统计数据""" """获取学员统计数据"""
# 获取筛选参数 # 获取筛选参数