1.teacher dao
2.teacher api
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ from dao.teacher import (
|
||||
|
||||
router = APIRouter(prefix="/teacher", tags=["老师管理模块"])
|
||||
|
||||
#===========================老师表===============================
|
||||
#============================老师表===============================
|
||||
@router.get("/list", response_model=List[TeacherOut])
|
||||
def api_get_teacher_list(db: Session = Depends(get_db)):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user