SysUserAppService.cs 748 B

123456789101112131415161718192021222324252627
  1. namespace YBEE.EQM.Application
  2. {
  3. /// <summary>
  4. /// 系统用户服务
  5. /// </summary>
  6. [ApiDescriptionSettings(Name = "sys-user")]
  7. [Route("sys/user")]
  8. [AppAuthorize]
  9. public class SysUserAppService : IDynamicApiController
  10. {
  11. private readonly ISysUserService _sysUserService;
  12. public SysUserAppService(ISysUserService sysUserService)
  13. {
  14. _sysUserService = sysUserService;
  15. }
  16. /// <summary>
  17. /// 修改密码
  18. /// </summary>
  19. /// <param name="input"></param>
  20. /// <returns></returns>
  21. public async Task ChangePassword(ChangeSysUserPasswordInput input)
  22. {
  23. await _sysUserService.ChangePassword(input);
  24. }
  25. }
  26. }