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); } /**