Bladeren bron

sunguidong

zhangguidong 2 jaren geleden
bovenliggende
commit
dda1a17032
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      application/api/controller/Enterprise.php

+ 2 - 0
application/api/controller/Enterprise.php

@@ -39,6 +39,8 @@ class Enterprise extends Base
         if(!empty($data['vendinc'])){
             $body['vendinc'] = $data['vendinc'];
         }
+        $body['pageIndex'] = $data['page'];
+        $body['pageSize']=5;
         $url = 'https://api.elecredit.com/saic/companyFilterInfoNewInterface';
         $list = curl_jz($body, $url);
         $this->success('企业数据', $list);