RuoYi
2022-07-21 ef76b0c2d281a2aa649ccc0bfe99fd85c570b916
src/main/java/com/ruoyi/project/monitor/controller/CacheController.java
@@ -78,8 +78,8 @@
    @GetMapping("/getKeys/{cacheName}")
    public AjaxResult getCacheKeys(@PathVariable String cacheName)
    {
        Set<String> cacheKyes = redisTemplate.keys(cacheName + "*");
        return AjaxResult.success(cacheKyes);
        Set<String> cacheKeys = redisTemplate.keys(cacheName + "*");
        return AjaxResult.success(cacheKeys);
    }
    @PreAuthorize("@ss.hasPermi('monitor:cache:list')")