debug
This commit is contained in:
@@ -21,8 +21,8 @@ Route::get('bookshelf', [User::class,'getBookShelf'])->ext('html')->append(['boo
|
|||||||
Route::get('/pc/bookshelf', [User::class,'getBookShelf'])->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('/pc/bookshelf', [User::class,'getBookShelf'])->ext('html')->append(['boolIsMobile' => false]);
|
||||||
|
|
||||||
//排行榜
|
//排行榜
|
||||||
Route::get('paihang', [Novel::class,'getNovelRank'])->append(['boolIsMobile' => true]);
|
Route::get('paihang/all', [Novel::class,'getNovelRank'])->append(['boolIsMobile' => true]);
|
||||||
Route::get("/pc/paihang", [Novel::class,'getNovelRank'])->append(['boolIsMobile' => false]);
|
Route::get("/pc/paihang/all", [Novel::class,'getNovelRank'])->append(['boolIsMobile' => false]);
|
||||||
|
|
||||||
// 男生/女生 - grok 推荐最优方案
|
// 男生/女生 - grok 推荐最优方案
|
||||||
Route::get('/nansheng-xiaoshuo', [Novel::class, 'getNovelChannel'])->append(['boolIsMobile' => true, 'strChannel' => 'boys']);
|
Route::get('/nansheng-xiaoshuo', [Novel::class, 'getNovelChannel'])->append(['boolIsMobile' => true, 'strChannel' => 'boys']);
|
||||||
@@ -64,9 +64,6 @@ Route::get('/pc/shuku/:strNovelChannel-:strCategory-:strStatus-:intPage', [Novel
|
|||||||
// ->ext('html');
|
// ->ext('html');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 文章 列表
|
// 文章 列表
|
||||||
Route::get('/article/list-[:intCategoryId]-[:intPage]', [Novel::class,'getArticleList'])->ext('html')->append(['boolIsMobile' => true]);
|
Route::get('/article/list-[:intCategoryId]-[:intPage]', [Novel::class,'getArticleList'])->ext('html')->append(['boolIsMobile' => true]);
|
||||||
Route::get('/pc/article/list-[:intCategoryId]-[:intPage]', [Novel::class,'getArticleList'])->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('/pc/article/list-[:intCategoryId]-[:intPage]', [Novel::class,'getArticleList'])->ext('html')->append(['boolIsMobile' => false]);
|
||||||
@@ -77,7 +74,6 @@ Route::get('/pc/article/list', [Novel::class,'getArticleList'])->ext('html')->ap
|
|||||||
Route::get('/article/info-:intArticleId', [Novel::class,'getArticleInfo'])->ext('html')->append(['boolIsMobile' => true]);
|
Route::get('/article/info-:intArticleId', [Novel::class,'getArticleInfo'])->ext('html')->append(['boolIsMobile' => true]);
|
||||||
Route::get('/pc/article/info-:intArticleId', [Novel::class,'getArticleInfo'])->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('/pc/article/info-:intArticleId', [Novel::class,'getArticleInfo'])->ext('html')->append(['boolIsMobile' => false]);
|
||||||
|
|
||||||
|
|
||||||
// 小说详情
|
// 小说详情
|
||||||
Route::get('/info/:intNovelId', [Novel::class, 'getNovelInfo'])->ext('html')->append(['boolIsMobile' => true]);
|
Route::get('/info/:intNovelId', [Novel::class, 'getNovelInfo'])->ext('html')->append(['boolIsMobile' => true]);
|
||||||
Route::get('/pc/info/:intNovelId', [Novel::class, 'getNovelInfo'])->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('/pc/info/:intNovelId', [Novel::class, 'getNovelInfo'])->ext('html')->append(['boolIsMobile' => false]);
|
||||||
@@ -114,6 +110,7 @@ Route::get('/pc/books/:name-:n_id/chapter/latest', [Novel::class, 'getNovelNewsC
|
|||||||
->append(['boolIsMobile' => false, 'intUriType' => 1])
|
->append(['boolIsMobile' => false, 'intUriType' => 1])
|
||||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',])
|
->pattern(['n_id' => '\d+','name' => '[\w-]+',])
|
||||||
->ext('html');
|
->ext('html');
|
||||||
|
|
||||||
// 小说章节
|
// 小说章节
|
||||||
Route::get('chapter/:intNovelId-:intChapterId-[:intChapterPage]', 'Novel/getNovelChapter')->ext('html')->append(['boolIsMobile' => true]);
|
Route::get('chapter/:intNovelId-:intChapterId-[:intChapterPage]', 'Novel/getNovelChapter')->ext('html')->append(['boolIsMobile' => true]);
|
||||||
Route::get('/pc/chapter/:intNovelId-:intChapterId-[:intChapterPage]', 'Novel/getNovelChapter')->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('/pc/chapter/:intNovelId-:intChapterId-[:intChapterPage]', 'Novel/getNovelChapter')->ext('html')->append(['boolIsMobile' => false]);
|
||||||
@@ -125,7 +122,6 @@ Route::get('pc/chapters/:intNovelId-[:intPage]-[:strSort]', [Novel::class,'getNo
|
|||||||
Route::get('/chapters', [Novel::class,'getNovelChapterAll'])->ext('html')->append(['boolIsMobile' => true]);
|
Route::get('/chapters', [Novel::class,'getNovelChapterAll'])->ext('html')->append(['boolIsMobile' => true]);
|
||||||
Route::get('pc/chapters', [Novel::class,'getNovelChapterAll'])->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('pc/chapters', [Novel::class,'getNovelChapterAll'])->ext('html')->append(['boolIsMobile' => false]);
|
||||||
|
|
||||||
|
|
||||||
// 搜索小说
|
// 搜索小说
|
||||||
Route::get('search', [Novel::class,'getSearchNovel'])->ext('html')->append(['boolIsMobile' => true]);
|
Route::get('search', [Novel::class,'getSearchNovel'])->ext('html')->append(['boolIsMobile' => true]);
|
||||||
Route::get('pc/search', [Novel::class,'getSearchNovel'])->ext('html')->append(['boolIsMobile' => false]);
|
Route::get('pc/search', [Novel::class,'getSearchNovel'])->ext('html')->append(['boolIsMobile' => false]);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
<a href="/shuku">
|
<a href="/shuku">
|
||||||
<span>书库</span>
|
<span>书库</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/paihang">
|
<a href="/paihang/all">
|
||||||
<span>排行</span>
|
<span>排行</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/article/list">
|
<a href="/article/list">
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<a href="/pc/shuku/all" target="_self" title="书库">书库</a>
|
<a href="/pc/shuku/all" target="_self" title="书库">书库</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=' {eq name="strPageCode" value="rank"}on {/eq}'>
|
<li class=' {eq name="strPageCode" value="rank"}on {/eq}'>
|
||||||
<a href="/pc/paihang" target="_self" title="排行">排行</a>
|
<a href="/pc/paihang/all" target="_self" title="排行">排行</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=' {eq name="strPageCode" value="article"}on {/eq}'>
|
<li class=' {eq name="strPageCode" value="article"}on {/eq}'>
|
||||||
<a href="/pc/article/list" target="_self" title="文章">文章</a>
|
<a href="/pc/article/list" target="_self" title="文章">文章</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user