test二轮完成的版本,并入了浩钦的班级模块

This commit is contained in:
2026-09-13 17:20:15 +08:00
parent c4ae803a34
commit 8ad76cc68b
3 changed files with 29 additions and 26 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#项目初始化入口
from fastapi import FastAPI
from api import wl_student_api # 周学灵的路由
from api import wl_student_api,wl_class_api # 周学灵、熊浩钦的路由
from database import Base, engine
from model import wl_student_model as student_model
from model import wl_class_model,wl_advisor_model
@@ -9,7 +9,7 @@ Base.metadata.create_all(bind=engine)
app = FastAPI(title="沃林学生管理系统")
app.include_router(wl_student_api.router)
app.include_router(wl_class_api.router)
if __name__ == "__main__":
import uvicorn