This commit is contained in:
maruizhi
2026-09-21 14:44:11 +08:00
parent bf7073be09
commit f99fa66ffe
11 changed files with 213 additions and 229 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
from fastapi import APIRouter,Depends,HTTPException,Path
from util.database import get_db
from model.student_model import Student_Model
from model.all_model import Student_Model
gradeAPI = APIRouter()
@gradeAPI.get(f"/grade/{id}",summary="根据ID查询单条成绩")
def get_grade(id:int,db=Depends(get_db)):
r =db.
pass