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
b7002448
Commit
b7002448
authored
Dec 02, 2019
by
RuoYi
Browse files
RedisCache的getCacheSet方法会移除元素的bug
parent
2e2882b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi/src/main/java/com/ruoyi/framework/redis/RedisCache.java
View file @
b7002448
...
...
@@ -158,11 +158,7 @@ public class RedisCache
{
Set
<
T
>
dataSet
=
new
HashSet
<
T
>();
BoundSetOperations
<
String
,
T
>
operation
=
redisTemplate
.
boundSetOps
(
key
);
Long
size
=
operation
.
size
();
for
(
int
i
=
0
;
i
<
size
;
i
++)
{
dataSet
.
add
(
operation
.
pop
());
}
dataSet
=
operation
.
members
();
return
dataSet
;
}
...
...
ruoyi/src/main/java/com/ruoyi/framework/security/service/PermissionService.java
View file @
b7002448
...
...
@@ -10,7 +10,7 @@ import com.ruoyi.framework.security.LoginUser;
import
com.ruoyi.project.system.domain.SysRole
;
/**
* RuoYi首创 自定义权限实现,s
e
取自SpringSecurity首字母
* RuoYi首创 自定义权限实现,s
s
取自SpringSecurity首字母
*
* @author ruoyi
*/
...
...
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