feat : check
This commit is contained in:
@@ -38,7 +38,7 @@ class SiteCache
|
||||
$siteKey = CommonRedisKey::siteListKey();
|
||||
$LngLatKey = CommonRedisKey::siteLngLatKey();
|
||||
|
||||
if ($this->redis->exists($siteKey) && $this->redis->exists($LngLatKey)) return;
|
||||
if ($this->redis->exists($siteKey,RedisCode::SYSTEM_DB) && $this->redis->exists($LngLatKey,RedisCode::SYSTEM_DB)) return;
|
||||
|
||||
$siteList = $this->siteModel->getAllSiteList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user