using System.Collections.Generic; using System.Threading.Tasks; namespace Myshipping.Core.Service; public interface ISysUserRoleService { Task DeleteUserRoleListByRoleId(long roleId); Task DeleteUserRoleListByUserId(long userId); Task> GetUserRoleDataScopeIdList(long userId, long orgId); Task> GetUserRoleIdList(long userId); Task GrantRole(UpdateUserInput input); /// /// 判断某用户是否属于指定角色 /// Task IsUserInRole(long userId, string roleCode); }