作者 liyuhang

gx

@@ -20,7 +20,7 @@ class BlogCategoryController extends BaseController @@ -20,7 +20,7 @@ class BlogCategoryController extends BaseController
20 //搜索条件 20 //搜索条件
21 $this->map['project_id'] = $this->user['project_id']; 21 $this->map['project_id'] = $this->user['project_id'];
22 $lists = $blogCategoryModel->lists($this->map,$this->page,$this->row,$this->order, 22 $lists = $blogCategoryModel->lists($this->map,$this->page,$this->row,$this->order,
23 - ['id','pid','name','status','sort','remark','created_at','updated_at']); 23 + ['id','pid','name','num','status','sort','remark','created_at','updated_at']);
24 $this->response('success',Code::SUCCESS,$lists); 24 $this->response('success',Code::SUCCESS,$lists);
25 } 25 }
26 26
@@ -21,7 +21,7 @@ class NewsCategoryController extends BaseController @@ -21,7 +21,7 @@ class NewsCategoryController extends BaseController
21 //搜索条件 21 //搜索条件
22 $this->map['project_id'] = $this->user['project_id']; 22 $this->map['project_id'] = $this->user['project_id'];
23 $lists = $newsCategory->lists($this->map,$this->page,$this->row,$this->order, 23 $lists = $newsCategory->lists($this->map,$this->page,$this->row,$this->order,
24 - ['id','pid','name','status','sort','remark','created_at','updated_at']); 24 + ['id','pid','name','num','status','sort','remark','created_at','updated_at']);
25 $this->response('success',Code::SUCCESS,$lists); 25 $this->response('success',Code::SUCCESS,$lists);
26 } 26 }
27 27