public function productDetail($id) { $title_product = 'レンタルサービス'; $product = SellProduct::getSellProById($id); $catSell = CategoryProduct::getCatSell(); $lps = SellProduct::getListPro(); return view('frontend.product.detail', compact('product', 'title_product', 'catSell', 'lps')); }
public function listCatSell() { $cat_sell = CategoryProduct::getCatSell(); return view('admin.category.sell.list', compact('cat_sell')); }