正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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)){ |
-
请 注册 或 登录 后发表评论