| | |
| | | caches.add(new SysCache(CacheConstants.CAPTCHA_CODE_KEY, "验证码"));
|
| | | caches.add(new SysCache(CacheConstants.REPEAT_SUBMIT_KEY, "防重提交"));
|
| | | caches.add(new SysCache(CacheConstants.RATE_LIMIT_KEY, "限流处理"));
|
| | | caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "密码错误次数"));
|
| | | }
|
| | |
|
| | | @PreAuthorize("@ss.hasPermi('monitor:cache:list')")
|
| | |
| | | @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')")
|