diff --git a/PythonProject/api/teacher_api.py b/PythonProject/api/teacher_api.py index dd6e738..c35169c 100644 --- a/PythonProject/api/teacher_api.py +++ b/PythonProject/api/teacher_api.py @@ -41,4 +41,4 @@ def delete_teacher1(t_id:int,session=Depends(get_db)): r=delete_teacher(id=t_id,session=session) if not r: raise HTTPException(status_code=500,detail='删除异常!') - return {'code': 200, 'detail': 'cg'} \ No newline at end of file + return {'code': 200, 'detail':'成功!'} \ No newline at end of file