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.

28 lines
713 B
C#

using Admin.Core.Model;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Admin.Core.IService
{
/// <summary>
/// 参数配置表IService
/// </summary>
public interface ISysPermissionService : IBaseServices<UserPermission>
{
/// <summary>
/// 获取角色数据权限
/// </summary>
/// <param name="userId"></param>
/// <returns></returns>
Task<List<string>> GetRolePermission(int userId);
/// <summary>
/// 获取菜单数据权限
/// </summary>
/// <param name="userId"></param>
/// <returns></returns>
Task<List<string>> GetMenuPermission(int userId);
}
}