package com.lideeyunji.service.system.api;

import com.lideeyunji.service.system.service.IRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collection;

/**
 * 角色 API 实现类
 *
 * @author 金灯剑客
 */
@Service
public class ApiRoleApiImpl implements IApiRoleApi {

    @Resource
    private IRoleService roleService;

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