package com.gkhy.safePlatform.account.service; import com.gkhy.safePlatform.account.model.dto.req.RoleAddReqDTO; import com.gkhy.safePlatform.account.model.dto.req.RoleModReqDTO; import com.gkhy.safePlatform.account.model.dto.resp.RoleRespDTO; import com.gkhy.safePlatform.commons.co.ContextCacheUser; import java.util.List; public interface RoleService { /** * @Description: 新增角色 */ void addRole(RoleAddReqDTO roleAddDto, ContextCacheUser currentUser); /** * @Description: 修改角色 */ void modRole(RoleModReqDTO roleModDto, ContextCacheUser currentUser); /** * @Description: 获取所有启用角色 */ List getEnableRoleInfos(); /** * @Description: 删除角色 */ void delRole(Long roleId, ContextCacheUser currentUser); }