This commit is contained in:
make
2025-04-23 17:13:38 +08:00
parent 637a50911e
commit 9dca8ceea3
2 changed files with 3 additions and 2 deletions

View File

@@ -219,6 +219,7 @@ class ChapterService
*/
public function getChapterInfo(int $intNId, int $intCSortNum = 0, int $intCPage = 0)
{
// 小说详情
$arrNovel = $this->NovelModel->getNovelByNId($intNId);

View File

@@ -167,8 +167,8 @@ EOT;
public function tagInfo($tag)
{
$n_id = $tag['n_id'] ?? '0';
$c_sort_num = !isset($tag['c_sort_num']) ? $tag['c_sort_num'] : 0;
$c_page = !isset($tag['c_page']) ? $tag['c_page'] : 0;
$c_sort_num = isset($tag['c_sort_num']) ? $tag['c_sort_num'] : 0;
$c_page = isset($tag['c_page']) ? $tag['c_page'] : 0;
$c_key = $tag['c_key'] ?? 'arrChapter';
$n_id = $this->customBuildVar($n_id);