fix: add login_required_json to statistics API endpoint
This commit is contained in:
@@ -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():
|
||||||
"""获取学员统计数据"""
|
"""获取学员统计数据"""
|
||||||
# 获取筛选参数
|
# 获取筛选参数
|
||||||
|
|||||||
Reference in New Issue
Block a user