13 lines
591 B
C#
13 lines
591 B
C#
namespace Application.Domain;
|
|
|
|
public interface ITradeService
|
|
{
|
|
Task<game_trade> GetTradeInfo(string tradeId);
|
|
Task<bool> AddTrade(int areaId, string userId, string code,string name, string propId, int count, long price,string content);
|
|
Task<bool> UpdateTradeCount(string tradeId, int op, int count, bool isDel = false);
|
|
Task<int> GetUserTradeCount(string userId);
|
|
Task<List<game_trade>> GetUserTradeData(string userId);
|
|
|
|
Task<List<game_trade>> GetUserTradeData(int areaId,string userId, int type, string query, int page, int limit,
|
|
RefAsync<int> total);
|
|
} |