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.
30 lines
603 B
C#
30 lines
603 B
C#
|
|
|
|
//----------SysUserRole开始----------
|
|
|
|
|
|
using Admin.Core.Model.Sys;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.Core.IService.ISys
|
|
{
|
|
/// <summary>
|
|
/// 用户和角色关联表IService
|
|
/// </summary>
|
|
public interface ISysUserRoleService : IBaseServices<SysUserRole>
|
|
{
|
|
|
|
/// <summary>
|
|
/// 根据角色Key获取用户列表
|
|
/// </summary>
|
|
/// <param name="roleKey"></param>
|
|
/// <returns></returns>
|
|
Task<List<SysUser>> GetAllUser(string roleKey);
|
|
|
|
}
|
|
}
|
|
|
|
//----------SysUserRole结束----------
|
|
|