using System.Collections.Generic; using System.Threading.Tasks; using GxPress.Common.Page; using GxPress.Request.Notice; using GxPress.Result.Notice; namespace GxPress.Service.Interface.Notice { public interface INoticeService : IService { /// /// 查看详情 /// /// /// Task NoticeEditDetailAsync(int id); /// /// 编辑通知 /// /// /// Task NoticeUpAsync(NoticeUpRequest request); Task> NoticeReadListAsync(NoticeReadListRequest request); Task InsertAsync(NoticeInRequest request); /// /// 获取通知点赞列表 /// /// /// /// Task GetNoticeDetailAsync(int id, int userId); /// /// 获取通知列表 /// /// /// Task> GetNoticeListPageAsync(NoticePageSearchRequest request); /// /// 获取通知详情 /// /// /// Task GetNoticeDetailResultAsync(int id, int userId); /// /// 撤销通知 /// /// /// Task RecallAsync(int id); } }