IAppHomePageService.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.Request.TeacherRequest;
  7. using GxPress.Result.Media;
  8. using GxPress.Result.SystemLabel;
  9. using GxPress.Result.Teacher;
  10. namespace GxPress.Service.Interface.AppHomePage
  11. {
  12. public interface IAppHomePageService : IService
  13. {
  14. /// <summary>
  15. /// 大咖讲座
  16. /// </summary>
  17. /// <param name="request"></param>
  18. /// <returns></returns>
  19. Task<List<AppLabelResult<MediaCathedraResult>>> GetMediasByTeacherAsync(ArticleGroupRequest request);
  20. /// <summary>
  21. /// 大咖讲座分页
  22. /// </summary>
  23. /// <returns></returns>
  24. Task<PagedList<MediaCathedraResult>> MediaCathedraResult(ArticleGroupRequest request);
  25. /// <summary>
  26. /// 每日好文
  27. /// </summary>
  28. /// <param name="request"></param>
  29. /// <returns></returns>
  30. Task<PagedList<MediaCathedraResult>> GetDayGoodTextAsync(MediaSearchRequest request);
  31. /// <summary>
  32. /// 根据IDs
  33. /// </summary>
  34. /// <returns></returns>
  35. Task<IEnumerable<MediaCathedraResult>> GetMediaByLableIdsAsync(MediaIdsRequest request);
  36. /// 名师
  37. /// </summary>
  38. /// <param name="request"></param>
  39. /// <returns></returns>
  40. Task<PagedList<TeacherResult>> GetTeacherAsync(TeacherRequest request);
  41. }
  42. }