feat: 数据迁移命令
This commit is contained in:
@@ -12,13 +12,24 @@ use think\facade\Route;
|
||||
|
||||
Route::get('/', 'Index/index');
|
||||
|
||||
// 产品相关路由
|
||||
Route::group('product', function() {
|
||||
// 产品列表页
|
||||
Route::get('index/:id', 'Product/index')->name('product_index');
|
||||
// 产品详情页
|
||||
Route::get('detail/:id', 'Product/detail')->name('product_detail');
|
||||
// 产品搜索页
|
||||
Route::get('search', 'Product/search')->name('product_search');
|
||||
Route::get('search', 'Product/search');
|
||||
});
|
||||
|
||||
// 文章相关路由
|
||||
Route::group('article', function() {
|
||||
// 文章列表页
|
||||
Route::get('index/:id', 'Article/index');
|
||||
// 文章详情页
|
||||
Route::get('detail/:id', 'Article/detail');
|
||||
// 文章搜索页
|
||||
Route::get('search', 'Article/search');
|
||||
});
|
||||
|
||||
// 数据迁移
|
||||
|
||||
Reference in New Issue
Block a user