1.审计管理修改
2.数据中心bug修改
This commit is contained in:
@@ -230,5 +230,16 @@ public class RedisUtil {
|
||||
redisTemplate.boundListOps(key).set(index, newObj);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据某个key模糊查询,并取出value
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
public List<?> getLikeListAllValues(String key) {
|
||||
List<Object> info=new ArrayList<>();
|
||||
for (String s : redisTemplate.keys(key + "*")) {
|
||||
info.add(redisTemplate.opsForValue().get(s));
|
||||
}
|
||||
return info;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user