IAppHomePageService.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. /// <summary>
  42. /// 根据IDs
  43. /// </summary>
  44. /// <returns></returns>
  45. Task<PagedList<MediaCathedraResult>> GetMediaByLableIdAsync(MediaLableIdRequest request);
  46. /// <summary>
  47. /// 书城
  48. /// </summary>
  49. /// <param name="request"></param>
  50. /// <returns></returns>
  51. Task<List<AppLabelResult<MediaCathedraResult>>> GetBookCityAsync(ArticleGroupRequest request);
  52. }
  53. }