redis key错误
parent
28d42eb762
commit
5fe1028faf
|
@ -357,8 +357,9 @@ public class RedisKey {
|
|||
|
||||
if(!newAreaCacChe.contains(type)&&!rankCacChe.contains(type)){
|
||||
if(key.length() == 8) {
|
||||
Integer serverId = RedisUtil.getInstence().getObject(RedisKey.CUser_ServerId_Key,key,
|
||||
Integer.class, -1);
|
||||
|
||||
Integer serverId = RedisUtil.getInstence().getMapEntry(RedisKey.CUser_ServerId_Key, "", key,
|
||||
Integer.class);
|
||||
if( serverId!=null && !AreaManager.getInstance().checkServerIdAllowPermit(serverId)){
|
||||
return -1 + RedisKey.Delimiter_colon + type + RedisKey.Delimiter_colon + key;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue