二次改版

This commit is contained in:
2022-06-29 17:03:47 +08:00
parent 2288b76e4e
commit 619e493b0e
168 changed files with 4676 additions and 1759 deletions

View File

@@ -11,10 +11,15 @@
|
*/
Route::get('/', 'IndexController@index')->name('index');
Route::post('search', 'IndexController@search')->name('search');
Route::get('articles/{category}/index', 'ArticleController@index')->name('article.index');
Route::get('articles/{article}', 'ArticleController@show')->name('article.show');
Route::get('category/{category}', 'CategoryController@index')->name('category.show');
Route::get('category/{category}', 'CategoryController@show')->name('category.show');
Route::resource('leader', 'LeaderController');
Route::resource('staff', 'StaffController');
//以下为导入数据
Route::get('test/set_article_category', 'TestController@set_article_category');