input('page', 1); $limit = request()->input('limit', 10); $params = [ 'page' => $page, 'limit' => $limit // 'status'=>3 ]; $res = IssueService::paginate($params); return $this->success($res); } public function cao() { $type = [1, 2, 3, 4]; $list = []; $list[] = Cao::whereIn('id', $type)->get(); $type = [5,6,7,8]; $list[] = Cao::whereIn('id', $type)->get(); return $this->success($list); } }