mirror of https://gitee.com/stylefeng/roses
【8.3.1】【role】更新角色常量的位置
parent
41ca429a43
commit
bda28691e2
|
@ -1,4 +1,4 @@
|
||||||
package cn.stylefeng.roses.kernel.sys.modular.role.constants;
|
package cn.stylefeng.roses.kernel.sys.api.constants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 角色的常量
|
* 角色的常量
|
|
@ -3,7 +3,7 @@ package cn.stylefeng.roses.kernel.sys.modular.role.cache;
|
||||||
import cn.hutool.core.util.ObjectUtil;
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
import cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi;
|
import cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi;
|
||||||
import cn.stylefeng.roses.kernel.event.api.annotation.BusinessListener;
|
import cn.stylefeng.roses.kernel.event.api.annotation.BusinessListener;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants;
|
import cn.stylefeng.roses.kernel.sys.api.constants.RoleConstants;
|
||||||
import jakarta.annotation.Resource;
|
import jakarta.annotation.Resource;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ package cn.stylefeng.roses.kernel.sys.modular.role.cache.rolemenu;
|
||||||
|
|
||||||
import cn.hutool.cache.impl.TimedCache;
|
import cn.hutool.cache.impl.TimedCache;
|
||||||
import cn.stylefeng.roses.kernel.cache.memory.AbstractMemoryCacheOperator;
|
import cn.stylefeng.roses.kernel.cache.memory.AbstractMemoryCacheOperator;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants;
|
import cn.stylefeng.roses.kernel.sys.api.constants.RoleConstants;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package cn.stylefeng.roses.kernel.sys.modular.role.cache.rolemenu;
|
package cn.stylefeng.roses.kernel.sys.modular.role.cache.rolemenu;
|
||||||
|
|
||||||
import cn.stylefeng.roses.kernel.cache.redis.AbstractRedisCacheOperator;
|
import cn.stylefeng.roses.kernel.cache.redis.AbstractRedisCacheOperator;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants;
|
import cn.stylefeng.roses.kernel.sys.api.constants.RoleConstants;
|
||||||
import org.springframework.data.redis.core.RedisTemplate;
|
import org.springframework.data.redis.core.RedisTemplate;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -2,7 +2,7 @@ package cn.stylefeng.roses.kernel.sys.modular.role.cache.roleoptions;
|
||||||
|
|
||||||
import cn.hutool.cache.impl.TimedCache;
|
import cn.hutool.cache.impl.TimedCache;
|
||||||
import cn.stylefeng.roses.kernel.cache.memory.AbstractMemoryCacheOperator;
|
import cn.stylefeng.roses.kernel.cache.memory.AbstractMemoryCacheOperator;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants;
|
import cn.stylefeng.roses.kernel.sys.api.constants.RoleConstants;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package cn.stylefeng.roses.kernel.sys.modular.role.cache.roleoptions;
|
package cn.stylefeng.roses.kernel.sys.modular.role.cache.roleoptions;
|
||||||
|
|
||||||
import cn.stylefeng.roses.kernel.cache.redis.AbstractRedisCacheOperator;
|
import cn.stylefeng.roses.kernel.cache.redis.AbstractRedisCacheOperator;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants;
|
import cn.stylefeng.roses.kernel.sys.api.constants.RoleConstants;
|
||||||
import org.springframework.data.redis.core.RedisTemplate;
|
import org.springframework.data.redis.core.RedisTemplate;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -5,6 +5,7 @@ import cn.hutool.extra.spring.SpringUtil;
|
||||||
import cn.stylefeng.roses.kernel.event.sdk.publish.BusinessEventPublisher;
|
import cn.stylefeng.roses.kernel.event.sdk.publish.BusinessEventPublisher;
|
||||||
import cn.stylefeng.roses.kernel.log.api.util.BusinessLogUtil;
|
import cn.stylefeng.roses.kernel.log.api.util.BusinessLogUtil;
|
||||||
import cn.stylefeng.roses.kernel.sys.api.SysUserRoleServiceApi;
|
import cn.stylefeng.roses.kernel.sys.api.SysUserRoleServiceApi;
|
||||||
|
import cn.stylefeng.roses.kernel.sys.api.constants.RoleConstants;
|
||||||
import cn.stylefeng.roses.kernel.sys.api.entity.SysMenuOptions;
|
import cn.stylefeng.roses.kernel.sys.api.entity.SysMenuOptions;
|
||||||
import cn.stylefeng.roses.kernel.sys.api.factory.RoleBindPermissionFactory;
|
import cn.stylefeng.roses.kernel.sys.api.factory.RoleBindPermissionFactory;
|
||||||
import cn.stylefeng.roses.kernel.sys.api.pojo.role.request.RoleBindPermissionRequest;
|
import cn.stylefeng.roses.kernel.sys.api.pojo.role.request.RoleBindPermissionRequest;
|
||||||
|
@ -16,7 +17,6 @@ import cn.stylefeng.roses.kernel.sys.modular.menu.entity.SysMenu;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.menu.service.SysMenuOptionsService;
|
import cn.stylefeng.roses.kernel.sys.modular.menu.service.SysMenuOptionsService;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.menu.service.SysMenuService;
|
import cn.stylefeng.roses.kernel.sys.modular.menu.service.SysMenuService;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.action.RoleAssignOperateAction;
|
import cn.stylefeng.roses.kernel.sys.modular.role.action.RoleAssignOperateAction;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants;
|
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.entity.SysRoleMenu;
|
import cn.stylefeng.roses.kernel.sys.modular.role.entity.SysRoleMenu;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.entity.SysRoleMenuOptions;
|
import cn.stylefeng.roses.kernel.sys.modular.role.entity.SysRoleMenuOptions;
|
||||||
import cn.stylefeng.roses.kernel.sys.modular.role.factory.PermissionAssignFactory;
|
import cn.stylefeng.roses.kernel.sys.modular.role.factory.PermissionAssignFactory;
|
||||||
|
|
Loading…
Reference in New Issue