From 806429f948b68a160ab380c267a403def3a12cdd Mon Sep 17 00:00:00 2001 From: make Date: Mon, 2 Jun 2025 16:44:54 +0800 Subject: [PATCH] debug --- code/app/services/SiteContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/app/services/SiteContext.php b/code/app/services/SiteContext.php index 317ef42..0cdfa25 100644 --- a/code/app/services/SiteContext.php +++ b/code/app/services/SiteContext.php @@ -535,7 +535,7 @@ class SiteContext Cache::store('redis')->handler()->expire($strKeyLimit100, 60 * 10); // 设置 10分钟 过期 } - var_dump($intRequestTotalLimit10); + // var_dump($intRequestTotalLimit10); // 检查请求次数是否超过限制 if ($intRequestTotalLimit10 > 30 && !$arrVisitInfo['vil_is_spider']) { throw new HttpException(404, 'Too Many Requests');