This commit is contained in:
make
2025-11-30 02:03:11 +08:00
parent d2372a7051
commit 66e0cc355a

View File

@@ -111,7 +111,7 @@ class SiteContext
*/ */
public function initCfg() public function initCfg()
{ {
$this->limitRequestRate(); //$this->limitRequestRate();
if (config('app.default_app_type') == 'novel') { if (config('app.default_app_type') == 'novel') {
// 全局使用的URL模板 // 全局使用的URL模板
$strPcUrlTemp = $this->DomainModel->getFomartSubject('PC_PATH_URL', '', false); $strPcUrlTemp = $this->DomainModel->getFomartSubject('PC_PATH_URL', '', false);
@@ -638,8 +638,8 @@ class SiteContext
# ✅ 主流搜索引擎爬虫(按需维护) # ✅ 主流搜索引擎爬虫(按需维护)
$arrSpiders = [ $arrSpiders = [
'Baiduspider', 'Baiduspider',
// 'Googlebot', 'Googlebot',
// 'Googlebot-Mobile', 'Googlebot-Mobile',
'360Spider', '360Spider',
'HaosouSpider', 'HaosouSpider',
'Sogou', 'Sogou',