bug修改

This commit is contained in:
2026-09-21 21:23:43 +08:00
parent ce3cae0b82
commit 0b72cb78ee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from schemas.student import StudentCreate
student_router = APIRouter()
@student_router.post("/student")
def create_student(request:StudentCreate,db:Session,create = Depends(create_students)):
def create_student(request:StudentCreate,db:Session=Depends(create_students)):
d = request.model_dump()
r = create_students(d,db)
if not r: