新增搜索器

This commit is contained in:
wuyanwen
2020-01-13 21:23:24 +08:00
parent 3b67f3fb5f
commit be02170697
13 changed files with 115 additions and 59 deletions

View File

@@ -24,9 +24,9 @@ class Department extends CatchController
* @return \think\response\Json
* @throws \think\db\exception\DbException
*/
public function index(CatchRequest $request): \think\response\Json
public function index(): \think\response\Json
{
return CatchResponse::success(Tree::done($this->department->getList($request->param())));
return CatchResponse::success(Tree::done($this->department->getList()));
}
/**