修改缓存key
This commit is contained in:
parent
921583c333
commit
9ebddaf3d5
2
app/common/cache/AdminAccountSafeCache.php
vendored
2
app/common/cache/AdminAccountSafeCache.php
vendored
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user