文章关联多分类

This commit is contained in:
2021-04-02 10:35:51 +08:00
parent 28035e7a26
commit 96793afeec
20 changed files with 334 additions and 431 deletions

View File

@@ -16,6 +16,7 @@ Route::get('articles/{article}', 'ArticleController@show')->name('article.show')
Route::get('category/{category}', 'CategoryController@index')->name('category.show');
//以下为导入数据
Route::get('test/set_article_category', 'TestController@set_article_category');
Route::get('test/set_category', 'TestController@set_category');
Route::get('test/set_article', 'TestController@set_article');
Route::get('test/set_cate_article', 'TestController@setCateArticle');