|
...
|
...
|
@@ -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);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|