Commit 87db1729 authored by hujun's avatar hujun

文章封面

parent 3f64e655
...@@ -60,7 +60,7 @@ class News extends Basic ...@@ -60,7 +60,7 @@ class News extends Basic
$where['a.s_label_id'] = $this->params['label_id']; $where['a.s_label_id'] = $this->params['label_id'];
} }
$field = 'a.id,a.title,a.content,a.create_time,b.name,c.label_name'; $field = 'a.id,a.title,a.content,a.create_time,b.name,c.label_name,a.cover_plan';
$where['a.status'] = 0; $where['a.status'] = 0;
$data['list'] = $this->m_news->getListAgent($pageNo, $pageSize, 'id DESC', $field, $where); $data['list'] = $this->m_news->getListAgent($pageNo, $pageSize, 'id DESC', $field, $where);
$data['total'] = $this->m_news->getListAgentTotal($where); $data['total'] = $this->m_news->getListAgentTotal($where);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment