using Myshipping.Core.Entity; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Threading.Tasks; namespace Myshipping.Core.Service; public interface ISysRoleService { Task AddRole(AddRoleInput input); Task DeleteRole(DeleteRoleInput input); Task GetNameByRoleId(long roleId); Task GetRoleDropDown(); Task GetRoleIdByRoleCode(string roleCode); Task GetRoleInfo([FromQuery] QueryRoleInput input); Task GetRoleList([FromQuery] RoleInput input); Task> GetUserDataScopeIdList(List roleIdList, long orgId); Task> GetUserRoleList(long userId); Task GrantData(GrantRoleDataInput input); Task GrantMenu(GrantRoleMenuInput input); Task> OwnData([FromQuery] QueryRoleInput input); Task> OwnMenu([FromQuery] QueryRoleInput input); Task QueryRolePageList([FromQuery] RoleInput input); Task UpdateRole(UpdateRoleInput input); }