package com.ads.business.service;

import com.ads.business.service.model.request.RoleUserListRequest;
import com.ads.common.data.JsonResult;
import com.dingtalk.api.response.OapiRoleListResponse;
import com.dingtalk.api.response.OapiRoleSimplelistResponse;

import java.util.List;

/**
 * @Return
 * @Author hou
 * @Date 2021/9/7 14:00
 * @Destription
 */
public interface RoleService {

    JsonResult<List<OapiRoleListResponse.OpenRole>> list();

    JsonResult<List<OapiRoleSimplelistResponse.OpenEmpSimple>> users(RoleUserListRequest request);
}
