article = $article; parent::__construct(); } // 新闻资讯页面 public function showInformation() { return $this->showSecondMenuView('info', $this->view, $this->article); } // 文章详情页面 public function showArticle($href1, $href2, $id) { $article = Article::find($id); if (!$article) { return redirect()->back()->with('error', '找不到该文章'); } return $this->showThirdMenuView($this->view_art, $href1, $href2, $article); } }