debug
This commit is contained in:
@@ -40,7 +40,7 @@ class Index extends BaseController
|
||||
$arrMoonRankNovel = $NovelModel->getRankNovelOnCache($strKey, 10, 0, 'monthly');
|
||||
|
||||
$strStatus = '已完结';
|
||||
$arrEndNovelRankNovel = $NovelModel->getRankNovelOnCache($strKey, 10, 0, 'total',$strStatus);
|
||||
$arrEndNovelRankNovel = $NovelModel->getRankNovelOnCache($strKey, 10, 0, 'total', $strStatus);
|
||||
|
||||
// Title 模板
|
||||
ConverterMovel::setVal([
|
||||
@@ -49,9 +49,9 @@ class Index extends BaseController
|
||||
'strIndexDescription' => $this->request->DomainModel->d_index_description,
|
||||
]);
|
||||
// $strTitle = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__));
|
||||
$strTitleTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__).'@TITLE');
|
||||
$strKeywordsTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__).'@KEYWORDS');
|
||||
$strDescriptionTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__).'@DESCRIPTION');
|
||||
$strTitleTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@TITLE');
|
||||
$strKeywordsTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@KEYWORDS');
|
||||
$strDescriptionTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@DESCRIPTION');
|
||||
|
||||
|
||||
$strTitle = ConverterMovel::convert($strTitleTemplate);
|
||||
@@ -71,11 +71,9 @@ class Index extends BaseController
|
||||
'strDescription' => $strDescription,
|
||||
]);
|
||||
|
||||
if ($boolIsMobile) {
|
||||
return View::fetch();
|
||||
} else {
|
||||
return View::fetch('pc/index');
|
||||
}
|
||||
$strView = $boolIsMobile ? '' : 'pc/index';
|
||||
|
||||
return $this->rending($strView);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -92,7 +90,7 @@ class Index extends BaseController
|
||||
|
||||
// 推荐等级为9的连载的 随机15个小说
|
||||
$arrRecommendSerializationNovel = $NovelModel->getHighLevelNovelOnCache($Request->DomainModel->d_domain, 13);
|
||||
|
||||
|
||||
// 推荐等级为9的完结的 随机12个小说
|
||||
$arrRecommendEndNovel = $NovelModel->getFinishedNovelOnCache($Request->DomainModel->d_domain, 12);
|
||||
|
||||
@@ -157,11 +155,8 @@ class Index extends BaseController
|
||||
'strDescription' => $strDescription,
|
||||
]);
|
||||
|
||||
$strView = $boolIsMobile ? '' : 'pc/index';
|
||||
|
||||
if ($boolIsMobile) {
|
||||
return View::fetch();
|
||||
} else {
|
||||
return View::fetch('pc/index');
|
||||
}
|
||||
return $this->rending($strView);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user