作者 lyh

gx

@@ -34,6 +34,7 @@ class CategoryController extends BaseController @@ -34,6 +34,7 @@ class CategoryController extends BaseController
34 { 34 {
35 $this->map = $this->searchParam(); 35 $this->map = $this->searchParam();
36 $filed = ['id', 'project_id', 'pid', 'title', 'image', 'route','keywords', 'describe', 'status','created_at','sort']; 36 $filed = ['id', 'project_id', 'pid', 'title', 'image', 'route','keywords', 'describe', 'status','created_at','sort'];
  37 + $this->map['deleted_at'] = null;
37 $list = $category->list($this->map,['sort','id'],$filed); 38 $list = $category->list($this->map,['sort','id'],$filed);
38 $data = []; 39 $data = [];
39 if(!empty($list)){ 40 if(!empty($list)){