new feature

This commit is contained in:
JaguarJack
2022-12-14 19:25:52 +08:00
parent b63cd5d01c
commit 098463f4e1
35 changed files with 391 additions and 146 deletions

View File

@@ -46,6 +46,6 @@ class DepartmentsController extends Controller
public function enable($id)
{
return $this->model->disOrEnable($id);
return $this->model->toggleBy($id);
}
}