作者 lyh

gx

@@ -30,10 +30,10 @@ class BlogLogic extends BaseLogic @@ -30,10 +30,10 @@ class BlogLogic extends BaseLogic
30 * @time :2023/10/18 17:00 30 * @time :2023/10/18 17:00
31 */ 31 */
32 public function getCategoryList(){ 32 public function getCategoryList(){
33 - $this->map['status'] = 0;  
34 - $this->map['project_id'] = $this->user['project_id']; 33 + $this->param['status'] = 0;
  34 + $this->param['project_id'] = $this->user['project_id'];
35 $blogCategoryModel = new BlogCategoryModel(); 35 $blogCategoryModel = new BlogCategoryModel();
36 - $cate_list = $blogCategoryModel->list($this->map,'sort'); 36 + $cate_list = $blogCategoryModel->list($this->param,'sort');
37 $list = []; 37 $list = [];
38 foreach ($cate_list as $v){ 38 foreach ($cate_list as $v){
39 $v = (array)$v; 39 $v = (array)$v;