| src/main/java/com/dji/sample/component/redis/RedisOpsUtils.java | ●●●●● patch | view | raw | blame | history |
src/main/java/com/dji/sample/component/redis/RedisOpsUtils.java
@@ -108,13 +108,6 @@ * @return */ public static Object get(String key) { // Execute the select command to choose the Redis database redisTemplate.execute((RedisCallback<Object>) connection -> { connection.select(1); // Choose database index 1 return null; }); // Now perform the get operation return redisTemplate.opsForValue().get(key); }