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.

42 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ys.Core.Common;
using djy.Model;
using djy.Paas.Model;
namespace djy.Paas.IService
{
/// <summary>
///大简云用户及其权限相关
/// </summary>
public interface IDjyUserService
{/// <summary>
/// 获取用户信息
/// </summary>
/// <param name="Gid"></param>
/// <returns></returns>
public ReturnResult<User> GetUserInfo(string usergid);
/// <summary>
/// 获取用户base信息
/// </summary>
/// <param name="usergid"></param>
/// <returns></returns>
public ReturnResult<UserBaseinfo> GetUserBaseinfo(string usergid);
/// <summary>
/// 获取大简云用户权限列表 获取大简云用户权限列表 查询条件[KeyName]
/// </summary>
/// <param name="UserId"></param>
/// <returns></returns>
public ReturnResult<List<DJyUserAuthorityDto>> GetUserAuthorityList(DJyUserAuthorityDto Dto);
/// <summary>
/// 根据用户ID 和页面权限key获取权限
/// </summary>
/// <param name="UserId"></param>
/// <param name="PageKeyName">页面或后权限Key标识</param>
/// <returns></returns>
public ReturnResult<DJyUserAuthorityDto> GetUserAuthority(Guid? UserId,string PageKeyName);
}
}