121
This commit is contained in:
@@ -10,5 +10,6 @@ public interface IGameChatService
|
||||
|
||||
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);
|
||||
Task<game_chat> GetChatInfo(string chatId);
|
||||
Task<bool> DeleteChat(string chatId, string opUser);
|
||||
}
|
||||
@@ -13,4 +13,12 @@ public interface IAreaService
|
||||
/// <param name="areaId"></param>
|
||||
/// <returns></returns>
|
||||
Task<game_area> GetAreaInfo(int areaId);
|
||||
|
||||
#region 激活码
|
||||
|
||||
Task<game_ack> GetAckInfo(string code);
|
||||
Task<bool> UseAck(string code, string userId);
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IGameMaxNameService
|
||||
{
|
||||
|
||||
}
|
||||
@@ -11,4 +11,13 @@ public interface IUnitUserRelationService
|
||||
Task<bool> DeleteFriend(string userId, string toId);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 仇人
|
||||
|
||||
Task<List<RelationView>> GetUserEnemyData(string userId);
|
||||
Task<bool> CheckUserEnemy(string userId, string eId);
|
||||
Task<bool> AddUserEnemy(string userId, string eId);
|
||||
Task<bool> DeleteUserEnemy(string userId, string eId);
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -8,8 +8,10 @@ public interface IUnitUserService
|
||||
Task<unit_user> GetUserInfoByUserId(string userId);
|
||||
Task<unit_user> GetUserInfoByUserNo(string userNo);
|
||||
Task<unit_user> GetUserInfoByToken(string token);
|
||||
|
||||
|
||||
Task<bool> CheckUserNickIsAt(string nick);
|
||||
Task<bool> UpdateUserNick(string userId, string nick);
|
||||
Task<bool> UpdateUserSex(string userId, string sex);
|
||||
Task<bool> UpdateUserSign(string userId, string sign);
|
||||
#endregion
|
||||
|
||||
#region 用户注册
|
||||
@@ -31,5 +33,16 @@ public interface IUnitUserService
|
||||
Task<int> GetOnlineCount();
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region 权限配置
|
||||
|
||||
Task<unit_user_config> GetUserConfigInfo(string userId);
|
||||
Task<int> GetUserConfigInfo(string userId, string code);
|
||||
Task<bool> UpdateUserConfigInfo(string userId, string code, int state);
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user