jyy
2021-06-12 393d296e43f0e5f11e524cab5446bcd3eee94e89
zq-erp/src/main/java/com/matrix/system/app/authority/AppAuthorityManager.java
@@ -41,7 +41,7 @@
    @Autowired
    SysFunctionService sysFunctionService;
    public static final String USER_POWER_REDISKEY = "USER_POWER_";
    public static final String USER_POWER_REDISKEY_APP = "USER_POWER_APP";
    public static final String USERFUNCTION = "userFunction";
    /** 用户所有路径权限的记录 **/
@@ -101,7 +101,7 @@
        List<String> userUrlMapping = new ArrayList<>();
        String redisKey = USER_POWER_REDISKEY + SecureUtil.md5(user.getSuId()+"");
        String redisKey = USER_POWER_REDISKEY_APP + SecureUtil.md5(user.getSuId()+"");
        String cachedValue = redisClient.getCachedValue(redisKey);
        if (StringUtils.isNotBlank(cachedValue)) {
            //从缓存中获取用户权限