初步完成

This commit is contained in:
2020-09-11 10:27:23 +08:00
parent 9c6d4da51e
commit 49c3511dbe
43 changed files with 3437 additions and 1188 deletions

View File

@@ -12,9 +12,14 @@
*/
Route::get('/', 'IndexController@index')->name('index');
Route::get('articles/{category}/index', 'ArticleController@index')->name('article.index');
Route::get('articles/{category}/picture', 'ArticleController@picture')->name('article.picture');
Route::get('articles/{article}/picshow', 'ArticleController@picshow')->name('article.picshow');
Route::get('articles/{article}', 'ArticleController@show')->name('article.show');
Route::get('search', 'ArticleController@search')->name('article.search');
Route::get('category/{category}/show', 'CategoryController@show')->name('category.show');//显示分类
Route::get('category/{category}/list', 'CategoryController@list')->name('category.list');//显示分类
Route::get('patents/{patent}/show', 'PatentController@show')->name('patents.show');
Route::get('patents/list', 'PatentController@list')->name('patents.list');
//以下为导入数据
Route::get('test/set_category', 'TestController@set_category');