1111
This commit is contained in:
@@ -2,15 +2,16 @@
|
||||
|
||||
public interface IMessageService
|
||||
{
|
||||
Task<int> GetNoReadCount(string userId);
|
||||
Task<List<int>> GetNoReadCount(string userId);
|
||||
|
||||
#region 私聊消息
|
||||
#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);
|
||||
|
||||
@@ -19,4 +20,27 @@ public interface IMessageService
|
||||
Task<bool> DeleteMsgByTalkId(string talkId, string userId);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 邮件消息
|
||||
|
||||
Task<List<unit_user_mail>> GetUserMailData(string userId, int page, int limit, RefAsync<int> total);
|
||||
Task<unit_user_mail> GetMailInfo(string mailId);
|
||||
Task<bool> SendMaill(string userId, string name, string sign, List<TowerGet> award, int days = 10);
|
||||
Task<bool> UpdateMaillInfo(unit_user_mail data);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 通知消息
|
||||
|
||||
Task<List<unit_user_message_event>> GetUserEventMessage(string userId, int page, int limit,
|
||||
RefAsync<int> total);
|
||||
|
||||
Task<unit_user_message_event> GetEventMessageInfo(string eventId);
|
||||
Task<bool> UpdateEventData(unit_user_message_event data);
|
||||
Task<bool> CheckAtEventMsg(string token);
|
||||
|
||||
Task<bool> SendEventMsg(string userId, string code, string name, string sign, string pars, string token,
|
||||
List<MsgEventBtn> btns = null, int days = 10);
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user