colly_wyx
2017-08-10 f7a98b088d5f7246cf12ee072169057a8e762664
application/modules/User/controllers/User.php
@@ -14,9 +14,11 @@
      if($this->getRequest()->isXmlHttpRequest()){
         $total = $this->user_service->getUserListTotal();
         $data['draw'] = !empty($_REQUEST['draw'])?$_REQUEST['draw']:1;
         $data['start'] = !empty($_REQUEST['start'])?$_REQUEST['start']:0;
         $data['length'] = !empty($_REQUEST['length'])?$_REQUEST['length']:10;
         $data['recordsTotal'] = $total;
         $data['recordsFiltered'] = $total;
         $data['data'] = $this->user_service->getUserList();
         $data['data'] = $this->user_service->getUserList(array(), array(), array(), $data['length'], $data['start']);
         exit($this->sendToDataTable($data));
      }
   }