This commit is contained in:
Aether
2025-09-19 17:10:05 +08:00
parent 211588d3ce
commit 0a6ba2c566
9 changed files with 489 additions and 3 deletions

View File

@@ -38,6 +38,9 @@ class BusinessException extends ServerException
10002 => '校区已存在',
10003 => '父级校区不存在',
10004 => '层级参数错误',
10101 => '教师不存在',
10102 => '教师已存在',
10103 => '该教师已有关联课程,无法删除',
];
return $messages[$code] ?? '业务处理失败';