写好了增加学生接口,增加学生dao层,main里加入了student——router

This commit is contained in:
wolin_liyujie
2026-09-21 12:36:57 +08:00
parent 9692c0867d
commit 546bc68847
4 changed files with 50 additions and 1 deletions
+2 -1
View File
@@ -2,13 +2,14 @@ from fastapi import FastAPI
from api.example import example_router
from middleware import log_middleware
import uvicorn
from api.student import student_router
app = FastAPI()
app.middleware("http")(log_middleware)
#-------------朱婷婷--------------
#-------------李玉杰--------------
app.include_router(student_router)
#-------------张义---------------
#-------------薄鑫---------------