This commit is contained in:
parent
75d471b1b6
commit
045147dc30
|
@ -79,7 +79,7 @@ public class PermissionDAO {
|
||||||
roleRedisUtil.setData(
|
roleRedisUtil.setData(
|
||||||
BusinessConstants.ALL_PERMISSION,
|
BusinessConstants.ALL_PERMISSION,
|
||||||
"string",
|
"string",
|
||||||
gson.toJson(permissionList),
|
gson.toJson(getPermission),
|
||||||
1440);
|
1440);
|
||||||
} else {
|
} else {
|
||||||
getPermission = gson.fromJson(getRedisData, new TypeToken<List<String>>() { }.getType());
|
getPermission = gson.fromJson(getRedisData, new TypeToken<List<String>>() { }.getType());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user