This commit is contained in:
make
2025-04-27 20:29:10 +08:00
parent 989e7d6bb8
commit 785bb3a0c3
3 changed files with 5 additions and 6 deletions

View File

@@ -16,7 +16,6 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" /> <meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' /> <meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' />
<meta property="og:url" <meta property="og:url"

View File

@@ -217,14 +217,14 @@ EOD;
/** /**
* 小说章节URL生成器 * 小说章节URL生成器
* *
* @param array $n_id * @param array
* @return string * @return string
*/ */
public function tagCPUrl($tag) public function tagCPUrl($tag)
{ {
$intNId = isset($tag['n_id']) ? $tag['n_id'] : ''; $intNId = $tag['n_id'];
$strNPy = isset($tag['n_py']) ? $tag['n_py'] : ''; $strNPy = $tag['n_py'];
$intChapterSort = isset($tag['c_sort']) ? $tag['c_sort'] : ''; $intChapterSort = $tag['c_sort'];
$intChapterPage = isset($tag['c_page']) ? $tag['c_page'] : 0; $intChapterPage = isset($tag['c_page']) ? $tag['c_page'] : 0;
$intNId = $this->customBuildVar($intNId); $intNId = $this->customBuildVar($intNId);