using QYZH.InteractiveMagazine.Models.Dto; using QYZH.InteractiveMagazine.Models.Entity; namespace QYZH.InteractiveMagazine.IService; /// /// 社区消息后台管理服务接口 /// public interface ICommunityMessageService : IBaseService { /// /// 分页查询消息列表 /// Task> GetListAsync(AdminMessageQueryInput input); /// /// 查看消息详情 /// Task GetDetailAsync(long id); /// /// 软删除消息 /// Task DeleteAsync(long id); /// /// 冻结/解冻消息 /// /// 消息ID /// 状态: 1=解冻(通过), 2=冻结 Task FreezeAsync(long id, int status); /// /// 设置/取消精选 /// /// 消息ID /// 0=取消, 1=精选 Task SetFeaturedAsync(long id, int isFeatured); /// /// 设置排序权重 /// Task SetSortOrderAsync(long id, int sortOrder); }