feat : admin

This commit is contained in:
2024-11-11 13:17:32 +08:00
parent b64d2872ac
commit a4db4ec626
3 changed files with 16 additions and 11 deletions

View File

@@ -135,7 +135,7 @@ class EmployeeService extends BaseService
if (empty($info)) throw new AdminException('员工不存在');
$info->is_del = UserCode::DISABLE;
$info->is_del = UserCode::IS_DEL;
if (!$info->save()) throw new AdminException('账号删除失败');