优化代码

This commit is contained in:
Default
2025-04-04 00:48:11 +08:00
parent efbbfc3e0f
commit 4b97fe8a46
9 changed files with 469 additions and 379 deletions

View File

@@ -75,7 +75,7 @@ Route::get('/pc/xiaoshuo/:name-:intNovelId/zhang-:intChapterSort/[:intChapterPag
/**
* 最新章节-特殊页面处理
*/
Route::get('/pc/books/:name-:n_id/chapter/latest', [Novel::class, 'getNovelNewsChapter'])
Route::get('/pc/books/:name-:n_id/chapter/latest', [Novel::class, 'getNovelLatestChapter'])
->append(['boolIsMobile' => false, 'intUriType' => 1])
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);