This commit is contained in:
he
2026-09-21 17:08:46 +08:00
parent f55e9e474a
commit 4cad0902d6
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -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