ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
@@ -40,8 +40,8 @@ commandStats.stringPropertyNames().forEach(key -> { Map<String, String> data = new HashMap<>(2); String property = commandStats.getProperty(key); data.put("name", StringUtils.removePrefix(key, "cmdstat_")); data.put("value", StringUtils.subBetween(property, "calls=", ",usec")); data.put("name", StringUtils.removeStart(key, "cmdstat_")); data.put("value", StringUtils.substringBetween(property, "calls=", ",usec")); pieList.add(data); }); result.put("commandStats", pieList);