using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using GxPress.Common.Page; using GxPress.Request.App.Note; using GxPress.Request.Web; using GxPress.Result.App.Note; using GxPress.Result.Web; namespace GxPress.Service.Interface.Note { public interface INoteService : IService { Task InsertNoteAsync(NoteInRequest request); Task> NotePageListAsync(NoteSearchPageListRequest request); /// /// 获取笔记详情 /// /// /// /// Task GetNoteDetailAsync(int id, int userId); /// /// 修改笔记 /// /// /// Task UpdateNoteAsync(Entity.Note.Note note); /// /// 删除笔记 /// /// /// Task DeleteAsync(int id, int userId); /// ///查询个人摘录 /// /// /// Task> GetAllByUserId(NoteUserRequest request); /// /// 笔记没有文件夹分页 /// /// /// Task> GetNoteNotFolderPageResult(NoteSearchPageListRequest request); /// /// 获取笔记/话题草稿分页 /// /// /// Task> NoteTopicDraftPageListAsync(NoteSearchPageListRequest request); } }