diff --git a/code/app/home/view/videoBoKu/base.html b/code/app/home/view/videoBoKu/base.html index f73917c..8b63074 100644 --- a/code/app/home/view/videoBoKu/base.html +++ b/code/app/home/view/videoBoKu/base.html @@ -204,12 +204,10 @@ - {if !$boolIsSpider} - {/if} {// 全局统计 } {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} diff --git a/code/app/home/view/videoDadi/base.html b/code/app/home/view/videoDadi/base.html index 7a8de9f..7e431aa 100644 --- a/code/app/home/view/videoDadi/base.html +++ b/code/app/home/view/videoDadi/base.html @@ -144,12 +144,12 @@ {block name="footer-js"}{/block} - {if !$boolIsSpider} + - {/if} + {// 全局统计 } {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} diff --git a/code/app/home/view/videoDingZhu/base.html b/code/app/home/view/videoDingZhu/base.html index d167964..2647794 100644 --- a/code/app/home/view/videoDingZhu/base.html +++ b/code/app/home/view/videoDingZhu/base.html @@ -213,12 +213,10 @@ - {if !$boolIsSpider} - {/if} {// 全局统计 } {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} diff --git a/code/app/home/view/videoFengNiao/base.html b/code/app/home/view/videoFengNiao/base.html index 63047de..d5600ce 100644 --- a/code/app/home/view/videoFengNiao/base.html +++ b/code/app/home/view/videoFengNiao/base.html @@ -124,12 +124,10 @@ - {if !$boolIsSpider} - {/if} {// 全局统计 } {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} diff --git a/code/app/home/view/videoLaoNiu/base.html b/code/app/home/view/videoLaoNiu/base.html index 8d5ff74..91f400a 100644 --- a/code/app/home/view/videoLaoNiu/base.html +++ b/code/app/home/view/videoLaoNiu/base.html @@ -147,12 +147,10 @@ - {if !$boolIsSpider} - {/if} {// 全局统计 } {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} diff --git a/code/app/home/view/videoNuNu/base.html b/code/app/home/view/videoNuNu/base.html index 12150db..42c3668 100644 --- a/code/app/home/view/videoNuNu/base.html +++ b/code/app/home/view/videoNuNu/base.html @@ -130,12 +130,10 @@ - {if !$boolIsSpider} - {/if} {// 全局统计 } {site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/} diff --git a/code/app/services/SiteContext.php b/code/app/services/SiteContext.php index ec31e8e..7d85480 100644 --- a/code/app/services/SiteContext.php +++ b/code/app/services/SiteContext.php @@ -512,7 +512,6 @@ class SiteContext // 判断是否为爬虫 $arrVisitInfo['vil_is_spider'] = $this->isSpider($arrVisitInfo['vil_user_agent']); - View::assign('boolIsSpider', $arrVisitInfo['vil_is_spider']); $strIp = $this->getRealClientIp(); $strKeyLimit10 = 'access:' . $strIp;