24 lines
692 B
C#
24 lines
692 B
C#
namespace Application.Domain;
|
|
|
|
public interface IGameGoodsService
|
|
{
|
|
#region 道具资源
|
|
|
|
Task<game_goods> GetGoodsInfo(int goodsId);
|
|
Task<string> GetGoodsContent(int goodsId);
|
|
|
|
#endregion
|
|
|
|
#region 个人道具
|
|
|
|
Task<unit_user_goods> GetUserGoodsInfo(string ugId);
|
|
Task<unit_user_goods> GetUserGoodsInfo(string userId, int goodsId);
|
|
Task<int> GetUserGoodsCount(string userId, int goodsId);
|
|
|
|
Task<List<unit_user_goods>> GetUserGoodsData(string userId, List<string> code, string search, int page,
|
|
int limit, RefAsync<int> total);
|
|
|
|
Task<bool> UpdateUserGoods(string userId, int op, int goodsId, int count, string remark = "");
|
|
|
|
#endregion
|
|
} |