0
0

LoginLogController.cs 883 B

1234567891011121314151617181920212223242526272829303132
  1. using Microsoft.AspNetCore.Mvc;
  2. using System.Threading.Tasks;
  3. using ZhonTai.Common.Domain.Dto;
  4. using ZhonTai.Plate.Admin.Domain;
  5. using ZhonTai.Plate.Admin.Service.LoginLog;
  6. namespace ZhonTai.Plate.Admin.HttpApi
  7. {
  8. /// <summary>
  9. /// 登录日志管理
  10. /// </summary>
  11. public class LoginLogController : AreaController
  12. {
  13. private readonly ILoginLogService _loginLogService;
  14. public LoginLogController(ILoginLogService loginLogService)
  15. {
  16. _loginLogService = loginLogService;
  17. }
  18. /// <summary>
  19. /// 查询分页登录日志
  20. /// </summary>
  21. /// <param name="input"></param>
  22. /// <returns></returns>
  23. [HttpPost]
  24. public async Task<IResultOutput> GetPage(PageInput<LogGetPageDto> input)
  25. {
  26. return await _loginLogService.GetPageAsync(input);
  27. }
  28. }
  29. }