IAppHomePageService.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Common.Page;
  4. using GxPress.Request.ArticleGroup;
  5. using GxPress.Request.Media;
  6. using GxPress.Result.Media;
  7. using GxPress.Result.SystemLabel;
  8. namespace GxPress.Service.Interface.AppHomePage
  9. {
  10. public interface IAppHomePageService : IService
  11. {
  12. /// <summary>
  13. /// 大咖讲座
  14. /// </summary>
  15. /// <param name="request"></param>
  16. /// <returns></returns>
  17. Task<List<AppLabelResult<MediaCathedraResult>>> GetMediasByTeacherAsync(ArticleGroupRequest request);
  18. /// <summary>
  19. /// 大咖讲座分页
  20. /// </summary>
  21. /// <returns></returns>
  22. Task<PagedList<MediaCathedraResult>> MediaCathedraResult(ArticleGroupRequest request);
  23. /// <summary>
  24. /// 每日好文
  25. /// </summary>
  26. /// <param name="request"></param>
  27. /// <returns></returns>
  28. Task<PagedList<MediaCathedraResult>> GetDayGoodTextAsync(MediaSearchRequest request);
  29. /// <summary>
  30. /// 根据IDs
  31. /// </summary>
  32. /// <returns></returns>
  33. Task<PagedList<MediaCathedraResult>> GetMediaByLableIdsAsync(MediaIdsRequest request);
  34. }
  35. }