IAppChannelService.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Common.Page;
  4. using GxPress.EnumConst;
  5. using GxPress.Request.AppChannel;
  6. using GxPress.Result.AppChannel;
  7. using GxPress.Result.Media;
  8. namespace GxPress.Service.Interface.AppChannel
  9. {
  10. public interface IAppChannelService : IService
  11. {
  12. /// <summary>
  13. /// 获取App频道
  14. /// </summary>
  15. /// <returns></returns>
  16. Task<IEnumerable<AppChannelModelResult>> GetAppChannelsAsync();
  17. /// <summary>
  18. /// 查询 获取频道分类
  19. /// </summary>
  20. /// <returns></returns>
  21. Task<IEnumerable<ChannelCategoryResult>> GetAllAsync(int appChannelId);
  22. /// <summary>
  23. /// 根据app频道分类id获取媒体分页数据
  24. /// </summary>
  25. /// <returns></returns>
  26. Task<PagedList<MediaCathedraResult>> GetChannelCategoryMediaPageAsync(AppChannelSearchRequest request);
  27. /// <summary>
  28. /// 查询
  29. /// </summary>
  30. /// <returns></returns>
  31. Task<IEnumerable<AppChannelResult>> GetAllAsync(AppChannelConst channelTypeValue);
  32. }
  33. }