using YBEE.EQM.Core;
namespace YBEE.EQM.Application
{
///
/// 系统用户服务
///
[ApiDescriptionSettings(Name = "sys-user")]
[Route("sys/user")]
[AppAuthorize]
public class SysUserAppService : IDynamicApiController
{
private readonly ISysUserService _sysUserService;
public SysUserAppService(ISysUserService sysUserService)
{
_sysUserService = sysUserService;
}
///
/// 修改密码
///
///
///
public async Task ChangePassword(ChangeSysUserPasswordInput input)
{
await _sysUserService.ChangePassword(input);
}
///
/// 查询简要用户列表
///
///
///
public async Task> QueryUserSimplePageList(SysUserPageInput input)
{
return await _sysUserService.QueryUserSimplePageList(input);
}
}
}