正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -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')") |
-
请 注册 或 登录 后发表评论