2026-09-19 16:38:14 +08:00
|
|
|
from fastapi import FastAPI
|
2026-09-21 17:53:58 +08:00
|
|
|
from api.employment_api import emp_api
|
2026-09-21 14:44:11 +08:00
|
|
|
from api.student_api import StudentAPI
|
2026-09-21 15:38:21 +08:00
|
|
|
from api.statistics_api import StatisticsAPI
|
2026-09-21 16:29:54 +08:00
|
|
|
from api.teacher_api import teacher_api
|
2026-09-21 16:53:39 +08:00
|
|
|
from api.grade_api import gradeAPI
|
2026-09-21 19:41:16 +08:00
|
|
|
from api.cla_api import claAPI
|
2026-09-22 12:16:28 +08:00
|
|
|
|
|
|
|
|
tags_metadata = [
|
|
|
|
|
{"name": "教师基本信息管理模块"},
|
|
|
|
|
{"name": "班级管理模块"},
|
|
|
|
|
{"name": "学生基本信息管理模块"},
|
|
|
|
|
{"name": "学生考核成绩管理模块"},
|
|
|
|
|
{"name": "学生就业管理模块"},
|
|
|
|
|
{"name": "统计分析模块"},
|
|
|
|
|
]
|
|
|
|
|
app = FastAPI(title='沃林学⽣管理系统',openapi_tags=tags_metadata)
|
2026-09-19 16:38:14 +08:00
|
|
|
|
2026-09-21 14:44:11 +08:00
|
|
|
app.include_router(StudentAPI)
|
2026-09-21 19:41:16 +08:00
|
|
|
|
2026-09-21 15:38:21 +08:00
|
|
|
app.include_router(StatisticsAPI)
|
2026-09-21 16:29:54 +08:00
|
|
|
app.include_router(teacher_api)
|
2026-09-21 17:53:58 +08:00
|
|
|
app.include_router(emp_api)
|
2026-09-21 18:14:20 +08:00
|
|
|
app.include_router(gradeAPI)
|
2026-09-21 19:41:16 +08:00
|
|
|
app.include_router(claAPI)
|