正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -34,7 +34,7 @@ class NewsController extends BaseController | @@ -34,7 +34,7 @@ class NewsController extends BaseController | ||
| 34 | $lists = $query->select($filed)->paginate($this->row, ['*'], 'page', $this->page); | 34 | $lists = $query->select($filed)->paginate($this->row, ['*'], 'page', $this->page); |
| 35 | if(!empty($lists)){ | 35 | if(!empty($lists)){ |
| 36 | $lists = $lists->toArray(); | 36 | $lists = $lists->toArray(); |
| 37 | -// //获取当前项目的所有分类 | 37 | + //获取当前项目的所有分类 |
| 38 | $data = $this->getCategoryList(); | 38 | $data = $this->getCategoryList(); |
| 39 | //获取当前用户选择的模版 | 39 | //获取当前用户选择的模版 |
| 40 | $template_id = $this->getTemplateId(BTemplate::SOURCE_NEWS,BTemplate::IS_DETAIL);//获取模版id | 40 | $template_id = $this->getTemplateId(BTemplate::SOURCE_NEWS,BTemplate::IS_DETAIL);//获取模版id |
-
请 注册 或 登录 后发表评论