IEpubService.cs 538 B

123456789101112131415161718192021
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using GxPress.Request.Media;
  4. using GxPress.Result.Media;
  5. namespace GxPress.Service.Interface.Epub
  6. {
  7. public interface IEpubService : IService
  8. {
  9. /// <summary>
  10. /// 获取书籍目录
  11. /// </summary>
  12. List<BookCatalogResult> GetCatalog(string path);
  13. /// <summary>
  14. /// 获取章节内容
  15. /// </summary>
  16. /// <returns></returns>
  17. Task<string> GetBookCatalogContent(BookCatalogRequest request);
  18. }
  19. }