|
...
|
...
|
@@ -26,7 +26,7 @@ class BlogController extends BaseController |
|
|
|
public function lists(BlogModel $blogModel,BlogCategoryLogic $blogCategoryLogic,BlogLabelLogic $blogLabelLogic){
|
|
|
|
//搜索条件
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
$lists = $blogModel->lists($this->map,$this->page,$this->row,$this->order,
|
|
|
|
$lists = $blogModel->lists($this->map,$this->page,$this->row,$this->order = 'sort',
|
|
|
|
['id','category_id','operator_id','status','created_at','label_id','image','updated_at','name','sort','url']);
|
|
|
|
if(!empty($lists['list'])){
|
|
|
|
foreach ($lists['list'] as $k => $v){
|
...
|
...
|
|