order('sort', 'desc')->column('id,title,content'); $leaderList = Article::where('category_id', Category::CATEGORY_COMPANY_LEADER)->order('sort', 'desc')->column('id,title,src'); $honorList = Article::where('category_id', Category::CATEGORY_COMPANY_HONOR)->order('sort', 'desc')->column('id,title,src,summary'); $this->data['categoryId'] = $categoryId; $this->data['blocks'] = Block::convertValue($blocks); $this->data['category'] = $category; $this->data['companyList'] = $companyList; $this->data['leaderList'] = $leaderList; $this->data['honorList'] = $honorList; $this->setSeo($category['title'].'|'.$this->system['seo_title'], $this->system['seo_keywords'], $this->system['seo_description']); return $this->view(); } }