示例#1
0
 public function cart($slug, Blog $blog)
 {
     $this->data['record'] = $blog->getBySlug($slug);
     return view('blog.cart', $this->data);
 }