|
@@ -78,8 +78,8 @@ public class CacheController
|
|
@GetMapping("/getKeys/{cacheName}")
|
|
@GetMapping("/getKeys/{cacheName}")
|
|
public AjaxResult getCacheKeys(@PathVariable String 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')")
|
|
@PreAuthorize("@ss.hasPermi('monitor:cache:list')")
|