package com.seer.teach.user.admin.service;

import com.seer.teach.user.admin.response.AuthorityResp;
import com.seer.teach.user.admin.request.RoleAuthorityReq;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Captain
 * @since 2024-01-19
 */
public interface AdminRoleAuthorityService {

    /**
     * 删除角色对应的权限
     * @param params
     */
    void deleteRoleAuthority(RoleAuthorityReq params);

    /**
     * 添加角色权限
     * @param params
     */
    void addRoleAuthority(RoleAuthorityReq params);

    /**
     * 根据角色Id查询权限列表
     * @param roleId
     */
    List<AuthorityResp> getAuthorityListByRoleId(Integer roleId);

}
