package com.cm.common.plugin.oauth.service.role;

import com.alibaba.fastjson.JSONArray;
import com.cm.common.exception.AccessTokenException;
import com.cm.common.exception.SearchException;

/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: IRoleService
 * @Description: 角色管理
 * @Author: WangGeng
 * @Date: 2020/1/9 17:12
 * @Version: 1.0
 **/
public interface IRoleService {
    /**
     * 角色树
     *
     * @param roleParentId
     * @return
     * @throws AccessTokenException
     * @throws SearchException
     */
    JSONArray listZTreeRole(String roleParentId) throws AccessTokenException, SearchException;
}
