Files
Kg.SeaTime/Service/Application.Domain/Services/Interface/User/IUnitUserRelationService.cs
2026-07-11 18:52:38 +08:00

33 lines
998 B
C#

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
#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
#region
Task<game_charm_log> GetUserNewGift(string userId);
Task<List<GiftLogView>> GetUserGiftLog(string userId, int page, int limit, RefAsync<int> total);
Task<bool> AddCharm(string userId, string fromId, int goodsId, string name, string img, int charm,
int count);
#endregion
}