fix category info on chapter info .

This commit is contained in:
Default
2025-04-03 16:52:25 +08:00
parent 72c2b03dd2
commit 1d70d1cb0a

View File

@@ -497,6 +497,7 @@ class Novel extends BaseController
$arrPreChapter = $ChapterModel->getPreChapter($arrChapter['n_id'], $arrChapter['c_sort_num'], $arrChapter['c_page']);
$arrNextChapter = $ChapterModel->getNextChapter($arrChapter['n_id'], $arrChapter['c_sort_num'], $arrChapter['c_page']);
$arrCategoryAll = CategoryModel::$arrCategoryAll;
// 模拟数据-随机推荐数据10条
$arrNewsNovel = [
@@ -584,7 +585,7 @@ class Novel extends BaseController
}
/**
* 小说目录页面
* 小说章节列表页面
*
* @param Request $Request
* @param [type] $intNovelId 小说id
@@ -601,6 +602,9 @@ class Novel extends BaseController
$intNId = $intNovelId;
$arrNovel = $NovelModel->getNovelInfo($intNId);
$ChapterModel = new ChapterModel;
// 章节目录
$arrChapter = [
['c_sort_num' => 1, 'name' => '第1章', 'created_at' => '作者1'],
@@ -630,7 +634,12 @@ class Novel extends BaseController
// 小说-搜索
/**
* 小说-搜索
*
* @param Request $Request
* @return void
*/
public function getSearchNovel(Request $Request)
{
$boolIsMobile = $Request->param('boolIsMobile');