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