作者 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']); 23 + ['id','pid','name','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
@@ -20,7 +20,8 @@ class NewsCategoryController extends BaseController @@ -20,7 +20,8 @@ class NewsCategoryController extends BaseController
20 public function lists(NewsCategoryModel $newsCategory){ 20 public function lists(NewsCategoryModel $newsCategory){
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,['id','pid','name','status','sort','remark']); 23 + $lists = $newsCategory->lists($this->map,$this->page,$this->row,$this->order,
  24 + ['id','pid','name','status','sort','remark','created_at','updated_at']);
24 $this->response('success',Code::SUCCESS,$lists); 25 $this->response('success',Code::SUCCESS,$lists);
25 } 26 }
26 27