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