1111
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
public interface IGameChatService
|
||||
{
|
||||
Task<List<GameChatView>> GetChatTop(int areaId, int top, string teamId, string groupId);
|
||||
Task<List<GameChatView>> GetChatTop(string userId,int areaId, int top, string teamId, string groupId);
|
||||
|
||||
Task<List<GameChatView>> GetChatData(int type, int areaId, string teamId, string groupId, int page, int limit,
|
||||
Task<List<GameChatView>> GetChatData(string userId, int type, int areaId, string teamId, string groupId, int page,
|
||||
int limit,
|
||||
RefAsync<int> total);
|
||||
|
||||
Task<bool> SendChat(string userId, int areaId, string code, string sign, string par = "");
|
||||
Task<bool> SendChat(string userId, string code, string sign, string par = "");
|
||||
Task<bool> DeleteChat(string chatId);
|
||||
|
||||
}
|
||||
@@ -20,6 +20,7 @@ public interface IGameMapService
|
||||
Task<unit_user_online> GetUserOnMap(string userId);
|
||||
Task UpdateUserOnMap(string userId, string ip, string mapId);
|
||||
Task<bool> UpdateUserOnMap(unit_user_online data, string mapId);
|
||||
Task<UserOnMap> GetUserOnMapInfo(string userId);
|
||||
Task SetUserMapDefult(string userId);
|
||||
Task<game_city_map> GetToMapInfo(string userId, string toMap, bool isUpUserMap = true, bool isChangeCity = false);
|
||||
#endregion
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -6,7 +6,7 @@ public interface IUnitUserAttrService
|
||||
|
||||
Task<UserAttrModel> GetUserAttrModel(string userId);
|
||||
Task<unit_user_attr> GetUserAttr(string userId);
|
||||
|
||||
Task<int> GetUserLev(string userId);
|
||||
#endregion
|
||||
|
||||
#region 体力操作
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IUnitUserRelationService
|
||||
{
|
||||
#region 好友关系
|
||||
|
||||
Task<int> GetUserFriendCount(string userId);
|
||||
Task<List<RelationView>> GetUserFriend(string userId);
|
||||
Task<bool> CheckIsFriend(string userId, string toId);
|
||||
Task<bool> AddFriend(string userId, string toId);
|
||||
Task<bool> DeleteFriend(string userId, string toId);
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user