作者 SG
提交者 Gitee

修改错误的变量名

@@ -78,8 +78,8 @@ public class CacheController @@ -78,8 +78,8 @@ public class CacheController
78 @GetMapping("/getKeys/{cacheName}") 78 @GetMapping("/getKeys/{cacheName}")
79 public AjaxResult getCacheKeys(@PathVariable String cacheName) 79 public AjaxResult getCacheKeys(@PathVariable String cacheName)
80 { 80 {
81 - Set<String> cacheKyes = redisTemplate.keys(cacheName + "*");  
82 - return AjaxResult.success(cacheKyes); 81 + Set<String> cacheKeys = redisTemplate.keys(cacheName + "*");
  82 + return AjaxResult.success(cacheKeys);
83 } 83 }
84 84
85 @PreAuthorize("@ss.hasPermi('monitor:cache:list')") 85 @PreAuthorize("@ss.hasPermi('monitor:cache:list')")