作者 lyh

gx

@@ -31,7 +31,11 @@ class InquiryLogic extends BaseLogic @@ -31,7 +31,11 @@ class InquiryLogic extends BaseLogic
31 31
32 public function getApiList($export = false) 32 public function getApiList($export = false)
33 { 33 {
34 - $page_size = $export ? $this->param['row'] ?:20 : 20; 34 + if(isset($this->param['row'])){
  35 + $page_size = $this->param['row'];
  36 + }else{
  37 + $page_size = $export ? 1000 : 20;
  38 + }
35 $search = $this->request['search'] ?: ''; 39 $search = $this->request['search'] ?: '';
36 $page = $this->request['page'] ?: 1; 40 $page = $this->request['page'] ?: 1;
37 $project = (new ProjectLogic())->getProjectInfo($this->user['project_id']); 41 $project = (new ProjectLogic())->getProjectInfo($this->user['project_id']);