作者 liyuhang

gx

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