package com.cico.nest.lcdp.boot.core.system.api.permission;

import com.cico.nest.lcdp.boot.core.system.service.permission.RoleService;
import com.cico.nest.lcdp.boot.api.system.permission.RoleApi;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.Collection;

/**
 * 角色 API 实现类
 *
 * @author zws
 */
@Service
public class RoleApiImpl implements RoleApi {

    @Resource
    private RoleService roleService;

    @Override
    public void validRoleList(Collection<Long> ids) {
        roleService.validateRoleList(ids);
    }
}
