This commit is contained in:
Default
2025-04-07 20:18:03 +08:00
parent ba168ff55c
commit df4278d1d8

View File

@@ -82,11 +82,11 @@ class Novel extends BaseController
'strDescription' => $strDescription,
'strPageCode' => 'rank'
]);
if ($boolIsMobile) {
return View::fetch();
} else {
return View::fetch('pc/getNovelRank');
}
$strView = $boolIsMobile ? '' : 'pc/getNovelRank';
return $this->rending($strView);
}
/**
@@ -199,8 +199,7 @@ class Novel extends BaseController
'strDescription' => $strDescription,
]);
return View::fetch($strTemplate);
return $this->rending($strTemplate);
}
/**
@@ -262,11 +261,11 @@ class Novel extends BaseController
'strKeywords' => $strKeywords,
'strDescription' => $strDescription,
]);
if ($boolIsMobile) {
return View::fetch();
} else {
return View::fetch('pc/getNovelChannel');
}
$strView = $boolIsMobile ? '' : 'pc/getNovelChannel';
return $this->rending($strView);
}
/**
@@ -446,11 +445,9 @@ class Novel extends BaseController
]);
if ($boolIsMobile) {
return View::fetch('getNovelInfo');
} else {
return View::fetch('pc/getNovelInfo');
}
$strView = $boolIsMobile ? 'getNovelInfo' : 'pc/getNovelInfo';
return $this->rending($strView);
}
/**
@@ -536,11 +533,10 @@ class Novel extends BaseController
'strKeywords' => $strKeywords,
'strDescription' => $strDescription,
]);
if ($boolIsMobile) {
return View::fetch();
} else {
return View::fetch('pc/getNovelInfo');
}
$strView = $boolIsMobile ? '' : 'pc/getNovelInfo';
return $this->rending($strView);
}
/**
@@ -626,11 +622,10 @@ class Novel extends BaseController
'strKeywords' => $strKeywords,
'strDescription' => $strDescription,
]);
if ($boolIsMobile) {
return View::fetch('getNovelChapter');
} else {
return View::fetch('pc/getNovelChapter');
}
$strView = $boolIsMobile ? 'getNovelChapter' : 'pc/getNovelChapter';
return $this->rending($strView);
}
@@ -702,11 +697,10 @@ class Novel extends BaseController
'strKeywords' => $strKeywords,
'strDescription' => $strDescription,
]);
if ($boolIsMobile) {
return View::fetch();
} else {
return View::fetch('pc/getNovelChapter');
}
$strView = $boolIsMobile ? '' : 'pc/getNovelChapter';
return $this->rending($strView);
}
/**
@@ -783,11 +777,11 @@ class Novel extends BaseController
'strKeywords' => $strKeywords,
'strDescription' => $strDescription,
]);
if ($boolIsMobile) {
return View::fetch();
} else {
return View::fetch('pc/getNovelChapterAll');
}
$strView = $boolIsMobile ? '' : 'pc/getNovelChapterAll';
return $this->rending($strView);
}
/**
@@ -857,11 +851,9 @@ class Novel extends BaseController
'strDescription' => $strDescription,
]);
if ($boolIsMobile) {
return View::fetch();
} else {
return View::fetch('pc/getSearchNovel');
}
$strView = $boolIsMobile ? '' : 'pc/getSearchNovel';
return $this->rending($strView);
}
/**