This commit is contained in:
make
2025-04-01 17:32:45 +08:00
parent 521347c20f
commit 7a98fd404c
13 changed files with 110 additions and 107 deletions

View File

@@ -38,8 +38,7 @@ Route::get('/pc/nvsheng-xiaoshuo', [Novel::class, 'getNovelChannel'])->append([
* 书库 - grok 推荐最优方案
* /shuku/strGender/category/status/page
*/
Route::get('/shuku/all', [Novel::class, 'getLibrary'])->append(['boolIsMobile' => true]);
Route::get('/pc/shuku/all', [Novel::class, 'getLibrary'])->append(['boolIsMobile' => false]);
Route::get('/shuku/:strGender/:strCategory/:strStatus/page:intPage', [Novel::class, 'getLibrary'])
->pattern([
'strGender' => 'nansheng-xiaoshuo|nvsheng-xiaoshuo|all',
@@ -57,7 +56,8 @@ Route::get('/pc/shuku/:strGender/:strCategory/:strStatus/page:intPage', [Novel::
'intPage' => '\d+'
])
->append(['boolIsMobile' => false]);
Route::get('/shuku/all', [Novel::class, 'getLibrary'])->append(['boolIsMobile' => true]);
Route::get('/pc/shuku/all', [Novel::class, 'getLibrary'])->append(['boolIsMobile' => false]);
/**
* 小说章节