|
...
|
...
|
@@ -21,7 +21,7 @@ class BlogCategoryController extends BaseController |
|
|
|
//搜索条件
|
|
|
|
$this->map['project_id'] = $this->user['project_id'];
|
|
|
|
$filed = ['id','pid','name','num','alias','status','sort','remark','created_at','updated_at'];
|
|
|
|
$lists = $blogCategoryModel->list($this->map,$this->order,$filed);
|
|
|
|
$lists = $blogCategoryModel->list($this->map,$this->order = ['sort','id'],$filed);
|
|
|
|
$data = [];
|
|
|
|
if(!empty($lists)){
|
|
|
|
$blogModel = new BlogModel();
|
...
|
...
|
|