nb
This commit is contained in:
@@ -20,6 +20,6 @@ def post_grade(o:GradeRequest=Form(),db=Depends(get_db)):
|
||||
r=add_grade_dao(g=d,db=db)
|
||||
if not r:
|
||||
raise HTTPException(status_code=400, detail='学生不存在')
|
||||
return GradeResponse
|
||||
return o
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user