This commit is contained in:
Putoo
2026-05-28 19:06:40 +08:00
parent 0d5443ef36
commit 69ae1e3174
39 changed files with 1742 additions and 31 deletions

View File

@@ -0,0 +1,22 @@
namespace Application.Domain;
public interface IMessageService
{
Task<int> GetNoReadCount(string userId);
#region
string GetTalkId(string userId, string otId);
Task<List<unit_user_message>> GetUserNoReadData(string talkId);
Task<List<unit_user_message>> GetUserMessageData(string talkId, int page, int limit,
RefAsync<int> total);
Task<List<MessageView>> GetUserMessage(string userId, int type, int page, int limit,
RefAsync<int> total);
Task<bool> SendMsg(string sendId, string toUser, string msg);
Task SetMsgRead(List<long> msgIds, string userId);
Task<bool> DeleteMsgByTalkId(string talkId, string userId);
#endregion
}