nb
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from fastapi import APIRouter,Depends,HTTPException,Path
|
||||
from util.database import get_db
|
||||
from model.student_model import Student_Model
|
||||
|
||||
gradeAPI = APIRouter()
|
||||
|
||||
@gradeAPI.get(f"/grade/{id}",summary="根据ID查询单条成绩")
|
||||
def get_grade(id:int,db=Depends(get_db)):
|
||||
r =db.
|
||||
Reference in New Issue
Block a user