谷歌广告联盟修改

This commit is contained in:
make
2025-07-29 20:40:26 +08:00
parent 07f1376f41
commit 89b32cdb9b
5 changed files with 9 additions and 3 deletions

View File

@@ -47,7 +47,7 @@
})();
</script>
{if $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
crossorigin="anonymous"></script>
{/if}

View File

@@ -43,7 +43,7 @@
})();
</script>
{if $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
crossorigin="anonymous"></script>
{/if}

View File

@@ -40,6 +40,11 @@
s.parentNode.insertBefore(bp, s);
})();
</script>
{if $DomainModel->d_domain == 'bdmoju.com' || $DomainModel->d_domain == 'jksrjhq.com' || $DomainModel->d_domain == 'gyssjxq.com'}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8715396333009435"
crossorigin="anonymous"></script>
{/if}
</head>
{block name="strPageCode"}

View File

@@ -540,7 +540,7 @@ class SiteContext
// var_dump($intRequestTotalLimit10);
// 检查请求次数是否超过限制
if ($intRequestTotalLimit10 > 100 && !$arrVisitInfo['vil_is_spider']) {
if ($intRequestTotalLimit10 > 60 && !$arrVisitInfo['vil_is_spider']) {
throw new HttpException(404, 'Too Many Requests');
// abort(403, 'Too Many Requests');
}