hsy
5 天以前 c5bce61891af2d9f43f7e8615fa31cd54a2c8cba
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/api/permission/RoleApiImpl.java
@@ -13,7 +13,7 @@
/**
 * 角色 API 实现类
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@Service
public class RoleApiImpl implements RoleApi {
@@ -37,4 +37,10 @@
        List<RoleDO> list = roleService.getRoleList(ids);
        return BeanUtils.toBean(list, RoleRespDTO.class);
    }
    @Override
    public List<RoleRespDTO> getRoleList() {
        List<RoleDO> list = roleService.getRoleList();
        return BeanUtils.toBean(list, RoleRespDTO.class);
    }
}