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
1a617904
Unverified
Commit
1a617904
authored
Jul 12, 2022
by
若依
Committed by
Gitee
Jul 12, 2022
Browse files
!523 修改错误的变量名
Merge pull request !523 from SG/N/A
parents
fe98fba5
ec45cf04
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
View file @
1a617904
...
...
@@ -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