关联关系修正,拆分评论内容,默认进入至节目查询

This commit is contained in:
2022-08-01 10:12:56 +08:00
parent f2bb1bee88
commit fb78d7facb
2 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,8 @@ use Illuminate\Support\Facades\Route;
|
*/
// 对外列表
Route::get('/', ["\\App\\Http\\Controllers\\CommentQueryController","index"]);
Route::redirect('/', '/programs');
Route::get('/comments', ["\\App\\Http\\Controllers\\CommentQueryController","index"]);
Route::get('/programs', ["\\App\\Http\\Controllers\\ProgramQueryController","index"]);
Route::get('/programs/{program}/video', ["\\App\\Http\\Controllers\\ProgramQueryController","videos"]);
Route::get('/danmakus', ["\\App\\Http\\Controllers\\DanmakuQueryController","index"]);