This commit is contained in:
make
2025-04-19 11:11:58 +08:00
parent ed4a97bc19
commit 67098a5e01
6 changed files with 98 additions and 116 deletions

View File

@@ -220,7 +220,16 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
case 'library-index':
//书库/分类首页
Route::get($strRoute, [Novel::class, 'getLibrary']);
$strView = 'pc/getLibrary.html';
if ($platform == 'h5') {
$strView = 'novel/getLibrary.html';
}
//书库/分类
Route::get($strRoute, function () use ($strView) {
return view($strView);
});
// //书库/分类首页
// Route::get($strRoute, [Novel::class, 'getLibrary']);
break;
case 'rank':
//排行榜