feature view tag get data

This commit is contained in:
Default
2025-04-17 23:16:32 +08:00
parent d6656219ee
commit 7db551a21b
14 changed files with 704 additions and 58 deletions

View File

@@ -334,7 +334,7 @@ class Novel extends BaseController
$intNId = $Request->param('n_id');
$intForgeId = $Request->param('n_forge_id');
$intNForgeId = $Request->param('n_forge_id');
$boolIsMobile = $Request->param('boolIsMobile');
@@ -344,7 +344,7 @@ class Novel extends BaseController
$arrNovel = $NovelModel->getNovelByNId($intNId);
foreach ($arrNovel['n_forge_novel'] as $arrForgeNovel) {
if ($arrForgeNovel['n_forge_id'] == $intForgeId) {
if ($arrForgeNovel['n_forge_id'] == $intNForgeId) {
$arrNovel['n_name'] = $arrForgeNovel['n_forge_title'];
break;
}
@@ -421,9 +421,9 @@ class Novel extends BaseController
'strNovelDescription' => $arrNovel['n_description'],
]);
$strTitleTemplate = $Request->DomainModel->getFomartSubject('NOVEL@GETNOVELINFO@TITLE', $intForgeId);
$strKeywordsTemplate = $Request->DomainModel->getFomartSubject('NOVEL@GETNOVELINFO@KEYWORDS', $intForgeId);
$strDescriptionTemplate = $Request->DomainModel->getFomartSubject('NOVEL@GETNOVELINFO@DESCRIPTION', $intForgeId);
$strTitleTemplate = $Request->DomainModel->getFomartSubject('NOVEL@GETNOVELINFO@TITLE', $intNForgeId);
$strKeywordsTemplate = $Request->DomainModel->getFomartSubject('NOVEL@GETNOVELINFO@KEYWORDS', $intNForgeId);
$strDescriptionTemplate = $Request->DomainModel->getFomartSubject('NOVEL@GETNOVELINFO@DESCRIPTION', $intNForgeId);
$strTitle = ConverterMovel::convert($strTitleTemplate);
$strKeywords = ConverterMovel::convert($strKeywordsTemplate);
@@ -450,7 +450,7 @@ class Novel extends BaseController
]);
$strView = $boolIsMobile ? 'getNovelInfo' : 'pc/getNovelInfo';
$this->generateGrm(2, $intNId . '-' . $intForgeId, 50);
$this->generateGrm(2, $intNId . '-' . $intNForgeId, 50);
return $this->rending($strView);
}