You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
560 B
C#
19 lines
560 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Myshipping.Core.Service;
|
|
|
|
public interface ISysUserRoleService
|
|
{
|
|
Task DeleteUserRoleListByRoleId(long roleId);
|
|
Task DeleteUserRoleListByUserId(long userId);
|
|
Task<List<long>> GetUserRoleDataScopeIdList(long userId, long orgId);
|
|
Task<List<long>> GetUserRoleIdList(long userId);
|
|
Task GrantRole(UpdateUserInput input);
|
|
|
|
/// <summary>
|
|
/// 判断某用户是否属于指定角色
|
|
/// </summary>
|
|
Task<bool> IsUserInRole(long userId, string roleCode);
|
|
}
|