jyy
2021-06-09 ec87cf1ee2b9382bf9d089711f0ff82ae8e7077c
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)) {
            //从缓存中获取用户权限