This commit is contained in:
make
2025-04-21 13:52:41 +08:00
parent 3327907965
commit be2811f022
13 changed files with 105 additions and 27 deletions

View File

@@ -187,13 +187,13 @@ class SiteContext
public function getHomeView(string $strPlatform): string
{
if ($strPlatform == 'h5') {
if ($this->DomainModel->n_id > 0) {
if ($this->DomainModel->info_id > 0) {
$strView = 'novel/getNovelInfo.html';
} else {
$strView = 'index/index.html';
}
} else {
if ($this->DomainModel->n_id > 0) {
if ($this->DomainModel->info_id > 0) {
$strView = 'pc/getNovelInfo.html';
} else {
$strView = 'pc/index.html';