refactor: 修改路由命名

This commit is contained in:
2025-04-27 16:55:12 +08:00
parent e2265629f9
commit 6e5a86d84b
5 changed files with 9 additions and 9 deletions

View File

@@ -15,9 +15,9 @@ Route::get('/', 'Index/index');
// 产品相关路由
Route::group('product', function() {
// 产品分类页
Route::get('category/:id', 'Product/category')->name('product_category');
Route::get('category/:id', 'Product/category');
// 产品详情页
Route::get('detail/:id', 'Product/detail')->name('product_detail');
Route::get('detail/:id', 'Product/detail');
// 产品询盘
Route::post('inquiry', 'Product/inquiry');
// 新品上市