|
@@ -37,6 +37,7 @@ class CategoryController extends BaseController |
|
@@ -37,6 +37,7 @@ class CategoryController extends BaseController |
|
37
|
$this->map['project_id'] = $this->user['project_id'];
|
37
|
$this->map['project_id'] = $this->user['project_id'];
|
|
38
|
$filed = ['id', 'project_id', 'pid', 'title', 'image', 'route','keywords', 'describe', 'status','created_at'];
|
38
|
$filed = ['id', 'project_id', 'pid', 'title', 'image', 'route','keywords', 'describe', 'status','created_at'];
|
|
39
|
$list = $category->list($this->map,'id',$filed);
|
39
|
$list = $category->list($this->map,'id',$filed);
|
|
|
|
40
|
+ $data = [];
|
|
40
|
if(!empty($list)){
|
41
|
if(!empty($list)){
|
|
41
|
foreach ($list as $k =>$v){
|
42
|
foreach ($list as $k =>$v){
|
|
42
|
$v = $this->handleParam($category,$v);
|
43
|
$v = $this->handleParam($category,$v);
|