repository = $repository; } public function lst() { $where = $this->request->params([ 'label_id', 'user_type', 'sex', 'is_promoter', 'country', 'pay_count', 'user_time_type', 'user_time', 'nickname', 'province', 'city', 'group_id', 'phone', 'uid', ]); [$page, $limit] = $this->getPage(); $data = $this->repository->getList($where, $page, $limit); $data['lists'] = $data['list']; unset($data['list']); return app('json')->success($data); } }