IAppHomePageService.cs 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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.Navigation;
  7. using GxPress.Request.TeacherRequest;
  8. using GxPress.Result.AppChannel;
  9. using GxPress.Result.Media;
  10. using GxPress.Result.Navigation;
  11. using GxPress.Result.SystemLabel;
  12. using GxPress.Result.Teacher;
  13. namespace GxPress.Service.Interface.AppHomePage
  14. {
  15. public interface IAppHomePageService : IService
  16. {
  17. /// <summary>
  18. /// 大咖讲座
  19. /// </summary>
  20. /// <param name="request"></param>
  21. /// <returns></returns>
  22. Task<List<AppLabelResult<MediaCathedraResult>>> GetMediasByTeacherAsync(ArticleGroupRequest request);
  23. /// <summary>
  24. /// 大咖讲座分页
  25. /// </summary>
  26. /// <returns></returns>
  27. Task<PagedList<MediaCathedraResult>> MediaCathedraResult(ArticleGroupRequest request);
  28. /// <summary>
  29. /// 每日好文
  30. /// </summary>
  31. /// <param name="request"></param>
  32. /// <returns></returns>
  33. Task<PagedList<MediaCathedraResult>> GetDayGoodTextAsync(MediaSearchRequest request);
  34. /// <summary>
  35. /// 根据IDs
  36. /// </summary>
  37. /// <returns></returns>
  38. Task<IEnumerable<MediaCathedraResult>> GetMediaByLableIdsAsync(MediaIdsRequest request);
  39. /// 名师
  40. /// </summary>
  41. /// <param name="request"></param>
  42. /// <returns></returns>
  43. Task<PagedList<TeacherResult>> GetTeacherAsync(TeacherRequest request);
  44. /// <summary>
  45. /// 根据IDs
  46. /// </summary>
  47. /// <returns></returns>
  48. Task<PagedList<MediaCathedraResult>> GetMediaByLableIdAsync(MediaLableIdRequest request);
  49. /// <summary>
  50. /// 书城
  51. /// </summary>
  52. /// <param name="request"></param>
  53. /// <returns></returns>
  54. Task<List<AppLabelResult<MediaCathedraResult>>> GetBookCityAsync(ArticleGroupRequest request);
  55. /// <summary>
  56. /// 获取每日微课
  57. /// </summary>
  58. /// <param name="request"></param>
  59. /// <returns></returns>
  60. Task<PagedList<MediaCathedraResult>> GetDayWeBookAsync(MediaDayWeBookRequest request);
  61. /// <summary>
  62. /// 导航内容分页
  63. /// </summary>
  64. /// <returns></returns>
  65. Task<PagedList<MediaCathedraResult>> GetContentNavigationAsync(MediaContentNavigationRequest request);
  66. /// <summary>
  67. /// 获取搜索作者
  68. /// </summary>
  69. /// <returns></returns>
  70. Task<IEnumerable<NavigationSearchTeacherResult>> GetNavigationSearchResultAysnc(NavigationSearchRequest request);
  71. /// <summary>
  72. /// 获取出版社
  73. /// </summary>
  74. /// <param name="categoryId"></param>
  75. /// <returns></returns>
  76. Task<IEnumerable<PressResult>> GetNavigationPressAsync(NavigationSearchRequest request);
  77. /// <summary>
  78. /// 获取年份数据
  79. /// </summary>
  80. /// <param name="request"></param>
  81. /// <returns></returns>
  82. Task<IEnumerable<NavigationYearResult>> GetNavigationYearResult(NavigationSearchRequest request);
  83. /// <summary>
  84. /// 获取搜索内容
  85. /// </summary>
  86. /// <param name="request"></param>
  87. /// <returns></returns>
  88. Task<NavigationSearchResult> GetNavigationSearchResultAsync(NavigationSearchRequest request);
  89. /// <summary>
  90. /// 书籍SKU
  91. /// </summary>
  92. /// <returns></returns>
  93. Task<SkuResult> SkuResultAsync();
  94. }
  95. }