优化了students_dao里add_student_dao的报错逻辑。

This commit is contained in:
Orangeeee
2026-09-22 21:42:44 +08:00
parent ff68a676c4
commit e76cee4bd6
3 changed files with 18 additions and 12 deletions
+6 -6
View File
@@ -9,12 +9,12 @@ from databases import *
app = FastAPI(title="学生管理系统")
app.include_router(Classes_API,tags=["classes"])
app.include_router(Scores_API,tags=["scores"])
app.include_router(Shtudent_Jiuye,tags=["Employments"])
app.include_router(Students_API,tags=["students"])
app.include_router(Teachers_API,tags=["teachers"])
app.include_router(StatCalc_API,tags=["StatCalc"])
app.include_router(Classes_API,tags=["班级管理模块"])
app.include_router(Scores_API,tags=["学生考核成绩管理模块"])
app.include_router(Shtudent_Jiuye,tags=["学生就业管理模块"])
app.include_router(Students_API,tags=["学生管理模块"])
app.include_router(Teachers_API,tags=["老师管理模块"])
app.include_router(StatCalc_API,tags=["统计分析模块"])
if __name__ == "__main__":