作者 lyh

gx

@@ -27,7 +27,6 @@ class InquiryController extends BaseController @@ -27,7 +27,6 @@ class InquiryController extends BaseController
27 }else{ 27 }else{
28 $data = $logic->getApiList(); 28 $data = $logic->getApiList();
29 } 29 }
30 -  
31 return $this->success($data); 30 return $this->success($data);
32 } 31 }
33 32
@@ -31,7 +31,7 @@ class InquiryLogic extends BaseLogic @@ -31,7 +31,7 @@ class InquiryLogic extends BaseLogic
31 31
32 public function getApiList($export = false) 32 public function getApiList($export = false)
33 { 33 {
34 - $page_size = $export ? 1000 : 20; 34 + $page_size = $this->param['row'] ?: 20;
35 $search = $this->request['search'] ?: ''; 35 $search = $this->request['search'] ?: '';
36 $page = $this->request['page'] ?: 1; 36 $page = $this->request['page'] ?: 1;
37 $project = (new ProjectLogic())->getProjectInfo($this->user['project_id']); 37 $project = (new ProjectLogic())->getProjectInfo($this->user['project_id']);