feat : admin
This commit is contained in:
@@ -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('账号删除失败');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user