分支合并,调整完毕,可以运行,可以拉取该分支进行修改bug。

This commit is contained in:
Orangeeee
2026-09-22 13:44:05 +08:00
parent 4033dd86c1
commit f736845b6f
7 changed files with 20 additions and 7 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ from class_management.dao.class_management_dao import add_class_dao, update_clas
from class_management.database import get_db
from class_management.schema.class_management_request import ClassCreate, ClassResponse, ClassUpdate
class_api = APIRouter(prefix='/classes',tags=['班级管理模块'])
class_api = APIRouter(prefix='/classes')
# ,tags=['班级管理模块']
@class_api.post("",summary='新增班级')
def add_class(cla:ClassCreate,db=Depends(get_db)):