Browse Source

key -- test

xushili 1 year ago
parent
commit
ceebbeff42

+ 1 - 1
redisread/src/main/java/com/gyee/redisread/service/ReadRedisService.java

@@ -78,7 +78,7 @@ public class ReadRedisService implements ApplicationRunner {
         keys.forEach(k -> {
         keys.forEach(k -> {
             if (k.contains("DI") || k.contains("di")) {
             if (k.contains("DI") || k.contains("di")) {
                 dikeys.add(k);
                 dikeys.add(k);
-            } else {
+            } else if (k.contains("AI") || k.contains("ai")) {
                 aikeys.add(k);
                 aikeys.add(k);
             }
             }
         });
         });