debug
This commit is contained in:
@@ -595,6 +595,9 @@ class Novel extends BaseController
|
|||||||
$NovelModel = NovelModel::getInstance();
|
$NovelModel = NovelModel::getInstance();
|
||||||
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
||||||
|
|
||||||
|
$arrNovel['category_pinyin'] = $arrNovel['category_pinyin'] ?? 'all';
|
||||||
|
$arrNovel['category_sex'] = $arrNovel['category_sex'] ?? 'man';
|
||||||
|
|
||||||
// 最新章节
|
// 最新章节
|
||||||
$ChapterModel = ChapterModel::getInstance();
|
$ChapterModel = ChapterModel::getInstance();
|
||||||
$arrChapter = $ChapterModel->getLatestChapterByNId($intNId);
|
$arrChapter = $ChapterModel->getLatestChapterByNId($intNId);
|
||||||
@@ -676,6 +679,9 @@ class Novel extends BaseController
|
|||||||
$intNId = $intNovelId;
|
$intNId = $intNovelId;
|
||||||
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
||||||
|
|
||||||
|
$arrNovel['category_pinyin'] = $arrNovel['category_pinyin'] ?? 'all';
|
||||||
|
$arrNovel['category_sex'] = $arrNovel['category_sex'] ?? 'man';
|
||||||
|
|
||||||
// 章节
|
// 章节
|
||||||
$ChapterModel = ChapterModel::getInstance();
|
$ChapterModel = ChapterModel::getInstance();
|
||||||
$arrFilter = ['n_id' => $intNId, 'c_sort_num' => $intChapterSort, 'c_page' => $intChapterPage];
|
$arrFilter = ['n_id' => $intNId, 'c_sort_num' => $intChapterSort, 'c_page' => $intChapterPage];
|
||||||
@@ -759,6 +765,9 @@ class Novel extends BaseController
|
|||||||
$intNId = $intNovelId;
|
$intNId = $intNovelId;
|
||||||
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
$arrNovel = $NovelModel->getNovelByNId($intNId);
|
||||||
|
|
||||||
|
$arrNovel['category_pinyin'] = $arrNovel['category_pinyin'] ?? 'all';
|
||||||
|
$arrNovel['category_sex'] = $arrNovel['category_sex'] ?? 'man';
|
||||||
|
|
||||||
$ChapterModel = ChapterModel::getInstance();
|
$ChapterModel = ChapterModel::getInstance();
|
||||||
|
|
||||||
$strKey = sprintf('Nid:%s:Chapter-Page:%s:Order:%s', $intNId, $intPage, $strOrder);
|
$strKey = sprintf('Nid:%s:Chapter-Page:%s:Order:%s', $intNId, $intPage, $strOrder);
|
||||||
|
|||||||
Reference in New Issue
Block a user