You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
958 B
25 lines
958 B
using GDZZ.Core.Entity;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GDZZ.Core.Service;
|
|
|
|
public interface ISysRoleService
|
|
{
|
|
Task AddRole(AddRoleInput input);
|
|
Task DeleteRole(DeleteRoleInput input);
|
|
Task<string> GetNameByRoleId(long roleId);
|
|
Task<dynamic> GetRoleDropDown();
|
|
Task<SysRole> GetRoleInfo([FromQuery] QueryRoleInput input);
|
|
Task<dynamic> GetRoleList([FromQuery] RoleInput input);
|
|
Task<List<long>> GetUserDataScopeIdList(List<long> roleIdList, long orgId);
|
|
Task<List<RoleOutput>> GetUserRoleList(long userId);
|
|
Task GrantData(GrantRoleDataInput input);
|
|
Task GrantMenu(GrantRoleMenuInput input);
|
|
Task<List<long>> OwnData([FromQuery] QueryRoleInput input);
|
|
Task<List<OwnMenuOutput>> OwnMenu([FromQuery] QueryRoleInput input);
|
|
Task<dynamic> QueryRolePageList([FromQuery] RoleInput input);
|
|
Task UpdateRole(UpdateRoleInput input);
|
|
}
|