|
...
|
...
|
@@ -34,7 +34,7 @@ class NewsController extends BaseController |
|
|
|
$lists = $query->select($filed)->paginate($this->row, ['*'], 'page', $this->page);
|
|
|
|
if(!empty($lists)){
|
|
|
|
$lists = $lists->toArray();
|
|
|
|
// //获取当前项目的所有分类
|
|
|
|
//获取当前项目的所有分类
|
|
|
|
$data = $this->getCategoryList();
|
|
|
|
//获取当前用户选择的模版
|
|
|
|
$template_id = $this->getTemplateId(BTemplate::SOURCE_NEWS,BTemplate::IS_DETAIL);//获取模版id
|
...
|
...
|
|