debug
This commit is contained in:
@@ -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':
|
||||
//排行榜
|
||||
|
||||
Reference in New Issue
Block a user