|
@@ -30,7 +30,7 @@ class CategoryController extends BaseController |
|
@@ -30,7 +30,7 @@ class CategoryController extends BaseController |
|
30
|
public function index(Category $category)
|
30
|
public function index(Category $category)
|
|
31
|
{
|
31
|
{
|
|
32
|
$this->map = $this->searchParam();
|
32
|
$this->map = $this->searchParam();
|
|
33
|
- $filed = ['id', 'project_id', 'pid', 'title', 'image', 'route','keywords', 'describe', 'status','created_at','sort'];
|
33
|
+ $filed = ['id', 'project_id', 'pid', 'title', 'image', 'route', 'status','created_at','sort'];
|
|
34
|
$this->map['deleted_at'] = null;
|
34
|
$this->map['deleted_at'] = null;
|
|
35
|
$list = $category->list($this->map,['sort','id'],$filed);
|
35
|
$list = $category->list($this->map,['sort','id'],$filed);
|
|
36
|
$data = [];
|
36
|
$data = [];
|