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