正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -20,7 +20,7 @@ class BlogCategoryController extends BaseController | @@ -20,7 +20,7 @@ class BlogCategoryController extends BaseController | ||
| 20 | //搜索条件 | 20 | //搜索条件 |
| 21 | $this->map['project_id'] = $this->user['project_id']; | 21 | $this->map['project_id'] = $this->user['project_id']; |
| 22 | $lists = $blogCategoryModel->lists($this->map,$this->page,$this->row,$this->order, | 22 | $lists = $blogCategoryModel->lists($this->map,$this->page,$this->row,$this->order, |
| 23 | - ['id','pid','name','status','sort','remark','created_at','updated_at']); | 23 | + ['id','pid','name','num','status','sort','remark','created_at','updated_at']); |
| 24 | $this->response('success',Code::SUCCESS,$lists); | 24 | $this->response('success',Code::SUCCESS,$lists); |
| 25 | } | 25 | } |
| 26 | 26 |
| @@ -21,7 +21,7 @@ class NewsCategoryController extends BaseController | @@ -21,7 +21,7 @@ class NewsCategoryController extends BaseController | ||
| 21 | //搜索条件 | 21 | //搜索条件 |
| 22 | $this->map['project_id'] = $this->user['project_id']; | 22 | $this->map['project_id'] = $this->user['project_id']; |
| 23 | $lists = $newsCategory->lists($this->map,$this->page,$this->row,$this->order, | 23 | $lists = $newsCategory->lists($this->map,$this->page,$this->row,$this->order, |
| 24 | - ['id','pid','name','status','sort','remark','created_at','updated_at']); | 24 | + ['id','pid','name','num','status','sort','remark','created_at','updated_at']); |
| 25 | $this->response('success',Code::SUCCESS,$lists); | 25 | $this->response('success',Code::SUCCESS,$lists); |
| 26 | } | 26 | } |
| 27 | 27 |
-
请 注册 或 登录 后发表评论