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, 'strDescription' => $strDescription,
'strPageCode' => 'rank' 'strPageCode' => 'rank'
]); ]);
if ($boolIsMobile) {
return View::fetch();
} else { $strView = $boolIsMobile ? '' : 'pc/getNovelRank';
return View::fetch('pc/getNovelRank');
} return $this->rending($strView);
} }
/** /**
@@ -199,8 +199,7 @@ class Novel extends BaseController
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
return $this->rending($strTemplate);
return View::fetch($strTemplate);
} }
/** /**
@@ -262,11 +261,11 @@ class Novel extends BaseController
'strKeywords' => $strKeywords, 'strKeywords' => $strKeywords,
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
if ($boolIsMobile) {
return View::fetch();
} else { $strView = $boolIsMobile ? '' : 'pc/getNovelChannel';
return View::fetch('pc/getNovelChannel');
} return $this->rending($strView);
} }
/** /**
@@ -446,11 +445,9 @@ class Novel extends BaseController
]); ]);
if ($boolIsMobile) { $strView = $boolIsMobile ? 'getNovelInfo' : 'pc/getNovelInfo';
return View::fetch('getNovelInfo');
} else { return $this->rending($strView);
return View::fetch('pc/getNovelInfo');
}
} }
/** /**
@@ -536,11 +533,10 @@ class Novel extends BaseController
'strKeywords' => $strKeywords, 'strKeywords' => $strKeywords,
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
if ($boolIsMobile) {
return View::fetch(); $strView = $boolIsMobile ? '' : 'pc/getNovelInfo';
} else {
return View::fetch('pc/getNovelInfo'); return $this->rending($strView);
}
} }
/** /**
@@ -626,11 +622,10 @@ class Novel extends BaseController
'strKeywords' => $strKeywords, 'strKeywords' => $strKeywords,
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
if ($boolIsMobile) {
return View::fetch('getNovelChapter'); $strView = $boolIsMobile ? 'getNovelChapter' : 'pc/getNovelChapter';
} else {
return View::fetch('pc/getNovelChapter'); return $this->rending($strView);
}
} }
@@ -702,11 +697,10 @@ class Novel extends BaseController
'strKeywords' => $strKeywords, 'strKeywords' => $strKeywords,
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
if ($boolIsMobile) {
return View::fetch(); $strView = $boolIsMobile ? '' : 'pc/getNovelChapter';
} else {
return View::fetch('pc/getNovelChapter'); return $this->rending($strView);
}
} }
/** /**
@@ -783,11 +777,11 @@ class Novel extends BaseController
'strKeywords' => $strKeywords, 'strKeywords' => $strKeywords,
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
if ($boolIsMobile) {
return View::fetch();
} else { $strView = $boolIsMobile ? '' : 'pc/getNovelChapterAll';
return View::fetch('pc/getNovelChapterAll');
} return $this->rending($strView);
} }
/** /**
@@ -832,9 +826,9 @@ class Novel extends BaseController
ConverterMovel::setVal([ ConverterMovel::setVal([
'intPage' => $intPage, 'intPage' => $intPage,
'strSearchKeywords' => $strSearchKeywords, 'strSearchKeywords' => $strSearchKeywords,
// FIXED 如果不知道怎么做,就不要用这个模板,你现在太过依赖这个模板,这个模板如果是一个刚毕业的大学生的垃圾论文项目,你也被他的四维锁死? // FIXED 如果不知道怎么做,就不要用这个模板,你现在太过依赖这个模板,这个模板如果是一个刚毕业的大学生的垃圾论文项目,你也被他的四维锁死?
// 这个和模板没有关系, 昨天 grok 使用超限制了使用you.com 提供的 tkd 设计,它设计的 tkd模板 需要的 字段比较多,那几个 性别 和 分类 放在搜索是不太合理 // 这个和模板没有关系, 昨天 grok 使用超限制了使用you.com 提供的 tkd 设计,它设计的 tkd模板 需要的 字段比较多,那几个 性别 和 分类 放在搜索是不太合理
// 现在改了使用grok 设计的 ai 记录在 app/home/view/kuangyu/推广SEO过程设计记录/TKD/搜索页Tkd.md // 现在改了使用grok 设计的 ai 记录在 app/home/view/kuangyu/推广SEO过程设计记录/TKD/搜索页Tkd.md
]); ]);
$strTitleTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@TITLE'); $strTitleTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@TITLE');
@@ -857,11 +851,9 @@ class Novel extends BaseController
'strDescription' => $strDescription, 'strDescription' => $strDescription,
]); ]);
if ($boolIsMobile) { $strView = $boolIsMobile ? '' : 'pc/getSearchNovel';
return View::fetch();
} else { return $this->rending($strView);
return View::fetch('pc/getSearchNovel');
}
} }
/** /**