Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
b7002448
Commit
b7002448
authored
Dec 02, 2019
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RedisCache的getCacheSet方法会移除元素的bug
parent
2e2882b0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
RedisCache.java
...i/src/main/java/com/ruoyi/framework/redis/RedisCache.java
+1
-5
PermissionService.java
...m/ruoyi/framework/security/service/PermissionService.java
+1
-1
No files found.
ruoyi/src/main/java/com/ruoyi/framework/redis/RedisCache.java
View file @
b7002448
...
@@ -158,11 +158,7 @@ public class RedisCache
...
@@ -158,11 +158,7 @@ public class RedisCache
{
{
Set
<
T
>
dataSet
=
new
HashSet
<
T
>();
Set
<
T
>
dataSet
=
new
HashSet
<
T
>();
BoundSetOperations
<
String
,
T
>
operation
=
redisTemplate
.
boundSetOps
(
key
);
BoundSetOperations
<
String
,
T
>
operation
=
redisTemplate
.
boundSetOps
(
key
);
Long
size
=
operation
.
size
();
dataSet
=
operation
.
members
();
for
(
int
i
=
0
;
i
<
size
;
i
++)
{
dataSet
.
add
(
operation
.
pop
());
}
return
dataSet
;
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;
...
@@ -10,7 +10,7 @@ import com.ruoyi.framework.security.LoginUser;
import
com.ruoyi.project.system.domain.SysRole
;
import
com.ruoyi.project.system.domain.SysRole
;
/**
/**
* RuoYi首创 自定义权限实现,s
e
取自SpringSecurity首字母
* RuoYi首创 自定义权限实现,s
s
取自SpringSecurity首字母
*
*
* @author ruoyi
* @author ruoyi
*/
*/
...
...
Write
Preview
Markdown
is supported
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