完善功能

This commit is contained in:
cjd
2026-02-07 22:55:07 +08:00
parent bf3a2e6971
commit ae7c009d28
111 changed files with 980 additions and 10111 deletions

View File

@@ -15,7 +15,7 @@ class CategoryController extends Controller
->orderBy('sort')
->get();
return view('category.index', [
return view('frontend.category.index', [
'categories' => $categories,
]);
}
@@ -43,7 +43,7 @@ class CategoryController extends Controller
->orderByDesc('hot_score')
->paginate($perPage);
return view('category.show', [
return view('frontend.category.show', [
'category' => $category,
'products' => $products,
'moreThreshold' => $moreThreshold,