From 9ebddaf3d5a43ad04e33e71d6a113ca1db1f7f26 Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Thu, 21 Aug 2025 09:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=93=E5=AD=98key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/cache/AdminAccountSafeCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/cache/AdminAccountSafeCache.php b/app/common/cache/AdminAccountSafeCache.php index c6a8530..813bc35 100644 --- a/app/common/cache/AdminAccountSafeCache.php +++ b/app/common/cache/AdminAccountSafeCache.php @@ -15,7 +15,7 @@ class AdminAccountSafeCache extends BaseCache { parent::__construct(); $ip = \request()->getLocalIp(); - $this->key = $this->tagName . $ip; + $this->key = $this->tagName . str_replace('.', '_', $ip); } /**