Пример #1
0
 public function noticesDetail($id)
 {
     $notice = Notices::where('id', '=', $id)->get();
     //分页显示
     return View::make('home.notice-detail')->with('notice', $notice[0]);
 }