完善模板功能

This commit is contained in:
2026-03-10 22:59:46 +08:00
parent 98156991c1
commit 5dffe62adc
5 changed files with 226 additions and 33 deletions
+3
View File
@@ -14,6 +14,9 @@ Route::get('footerdata', 'app\index\controller\Index@getFooterData');
// --- 文章列表路由 ---
Route::get('getCenterNews', 'app\index\controller\Article\NewsCenterController@getCenterNews');
// --- Banner 路由 ---
Route::get('getBanners', 'app\index\controller\BannerController@getBanners');
// --- 文章互动路由 ---
Route::post('articleViews/:id', 'app\index\controller\Article\ArticleController@articleViews');
Route::post('articleLikes/:id', 'app\index\controller\Article\ArticleController@articleLikes');