ICollectionService.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. using System.Threading.Tasks;
  2. using GxPress.Common.Page;
  3. using GxPress.Request.App.Collection;
  4. using GxPress.Result;
  5. using GxPress.Result.App.Collection;
  6. namespace GxPress.Service.Interface.Collection
  7. {
  8. public interface ICollectionService : IService
  9. {
  10. Task<bool> Insert(CollectionInRequest request);
  11. Task<PagedList<CollectionListPageResult>> PageListAsync(CollectionPageSearchRequest request);
  12. /// <summary>
  13. /// 获取收藏详情
  14. /// </summary>
  15. /// <param name="id"></param>
  16. /// <returns></returns>
  17. Task<CollectionResult> GetCollectionDetailAsync(int id);
  18. /// <summary>
  19. /// 收藏无文件夹分页列表
  20. /// </summary>
  21. /// <param name="request"></param>
  22. /// <returns></returns>
  23. Task<PagedList<CollectionNoFolderResult>> GetCollectionNoFolderPageListAsync(CollectionPageSearchRequest request);
  24. Task<bool> UpdateResultJosnAsync();
  25. // Task<CollectionContentJsonData> StructCollectionData(int collectionDataId, int collectionType, int sourceUserId, bool isReturn = false);
  26. }
  27. }