package ink.wgink.interfaces.role;

import ink.wgink.pojo.dtos.role.RoleMenuDTO;

import java.util.List;
import java.util.Map;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: IRoleMenuBaseService
 * @Description: 角色菜单
 * @Author: WangGeng
 * @Date: 2021/2/25 15:38
 * @Version: 1.0
 **/
public interface IRoleMenuBaseService {

    /**
     * 角色菜单列表
     *
     * @param roleId
     * @return
     */
    List<RoleMenuDTO> list(String roleId);

    /**
     * 菜单ID列表
     *
     * @param params
     * @return
     */
    List<String> listMenuId(Map<String, Object> params);

    /**
     * 菜单ID列表
     *
     * @param roleId 角色ID
     * @return
     */
    List<String> listMenuId(String roleId);

    /**
     * 菜单ID列表
     *
     * @param roleIds
     * @return
     */
    List<String> listMenuId(List<String> roleIds);

    /**
     * 菜单URL
     *
     * @param roleId
     * @return
     */
    List<String> listMenuUrl(String roleId);

}
