This commit is contained in:
Putoo
2026-07-13 19:52:55 +08:00
parent 5d375e94bd
commit b5de98a214
20 changed files with 873 additions and 64 deletions

View File

@@ -2,6 +2,12 @@
public interface ITradeService
{
Task<bool> AddTrade(string userId, string code,string name, string propId, int count, long price,string content);
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);
}