Zhangyi #29

Merged
lookerZz merged 3 commits from zhangyi into main 2026-09-21 22:02:32 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit a602dc9de1 - Show all commits
+1 -1
View File
@@ -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)):
"""
+1 -1
View File
@@ -9,7 +9,7 @@ from fastapi import HTTPException
'''
本文件内容为老师表与班级老师关系表的增删改查函数集合
'''
#================老师表Teacher的CRUD================
#=================老师表Teacher的CRUD================
#查询所有未被删除的老师
def get_teacher_list(db:Session, teacher_id:int):
teacher = get_teacher_by_id(db, teacher_id)