using System.Threading.Tasks; using GxPress.Request.Media; using GxPress.Result.Media; namespace GxPress.Service.Interface.Media { public interface IMediaService : IService { Task InsertAsync(MediaResult result); Task GetAsync(int id); /// /// 获取书籍详情 /// /// /// Task GetBookMediaResultAsync(int id, int userId); /// /// 获取章节内容 /// /// /// Task GetBookMediaContentResultAsync(BookCatalogRequest request); /// /// 获取视频详情 /// /// /// Task GetVideoMediaResultAsync(int id); } }