Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
ec45cf04
Unverified
Commit
ec45cf04
authored
Jul 01, 2022
by
SG
Committed by
Gitee
Jul 01, 2022
Browse files
修改错误的变量名
parent
6f48fc3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
View file @
ec45cf04
...
...
@@ -78,8 +78,8 @@ public class CacheController
@GetMapping
(
"/getKeys/{cacheName}"
)
public
AjaxResult
getCacheKeys
(
@PathVariable
String
cacheName
)
{
Set
<
String
>
cacheK
y
es
=
redisTemplate
.
keys
(
cacheName
+
"*"
);
return
AjaxResult
.
success
(
cacheK
y
es
);
Set
<
String
>
cacheKe
y
s
=
redisTemplate
.
keys
(
cacheName
+
"*"
);
return
AjaxResult
.
success
(
cacheKe
y
s
);
}
@PreAuthorize
(
"@ss.hasPermi('monitor:cache:list')"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment