|
...
|
...
|
@@ -21,7 +21,11 @@ class GroupController extends BaseController |
|
|
|
|
|
|
|
public function list(Request $request, GroupLogic $logic)
|
|
|
|
{
|
|
|
|
$list = $logic->getList();
|
|
|
|
$map = [];
|
|
|
|
if(!empty($this->param['search'])){
|
|
|
|
$map[] = ['title', 'like', "%{$this->param['search']}%"];
|
|
|
|
}
|
|
|
|
$list = $logic->getList($map);
|
|
|
|
return $this->success($list);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|