修改缓存key

This commit is contained in:
lewis 2025-08-21 09:57:11 +08:00
parent 921583c333
commit 9ebddaf3d5

View File

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