|
@@ -25,7 +25,7 @@ class Company extends Base_Controller {
|
|
|
$limit = empty($count) ? 10 : $count;
|
|
|
$offset = ($page - 1)*$count;
|
|
|
|
|
|
- $list = $this->Company_model->get_list($where, 'id,name,type,companyId',$limit, $offset, 'name asc,id desc', NUll);
|
|
|
+ $list = $this->Company_model->get_list($where, 'id,name,type,no,companyId',$limit, $offset, 'name asc,id desc', NUll);
|
|
|
$total = $this->Company_model->get_count($where);
|
|
|
|
|
|
exit(json_result('0000',$this->response['0000'],array('list'=>$list,'total'=>$total)));
|