瀏覽代碼

新增公司名称缩写

DESKTOP-9JTA2JJ\HP 5 年之前
父節點
當前提交
818062a877
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/application/controllers/Company.php

+ 1 - 1
api/application/controllers/Company.php

@@ -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)));