fix: 移除@Resource注解,修复权限更新后,登录用户权限没有更新问题。

This commit is contained in:
misworga831
2023-06-06 17:26:04 +08:00
parent b61a5e8f7b
commit 5d6e99dc8a
35 changed files with 276 additions and 189 deletions

View File

@@ -123,7 +123,7 @@ public class StoreAuthenticationFilter extends BasicAuthenticationFilter {
//如果不是超级管理员, 则鉴权
if (!authUser.getIsSuper()) {
if (Boolean.FALSE.equals(authUser.getIsSuper())) {
//获取缓存中的权限
Map<String, List<String>> permission =
(Map<String, List<String>>) cache.get(CachePrefix.PERMISSION_LIST.getPrefix(UserEnums.STORE) + authUser.getId());