|
|
@ -58,7 +58,9 @@ class UserGroup extends BaseController |
|
|
|
public function lst() |
|
|
|
public function lst() |
|
|
|
{ |
|
|
|
{ |
|
|
|
[$page, $limit] = $this->getPage(); |
|
|
|
[$page, $limit] = $this->getPage(); |
|
|
|
return app('json')->success($this->repository->getList([], $page, $limit)); |
|
|
|
$where = array(); |
|
|
|
|
|
|
|
$where[] = ['group_id', '>', 1]; |
|
|
|
|
|
|
|
return app('json')->success($this->repository->getList($where, $page, $limit)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|