SG
3 years ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with
2 additions and
2 deletions
-
ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
|
|
@ -78,8 +78,8 @@ public class CacheController |
|
|
|
@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')") |
|
|
|