Commit Graph

4 Commits (c9797d57c5eaba322e425a5fb7adde3a659a1b80)

Author SHA1 Message Date
shi 98e1e8731a refactor(ff-game): 优化游戏结果状态处理逻辑
- 新增游戏状态判断逻辑,根据结算金额确定游戏结果
- 修改 gameStatus 字段赋值方式,提高代码可读性和维护性
2025-03-17 17:00:44 +08:00
shi 47235ed870 feat(game): 增加游戏投注记录详细信息
- 在 GameBettingDetails 模型中添加新字段:round, table, seat, betContent
- 更新相关 mapper 和 SQL 文件以支持新字段- 添加 GameDTO 类用于游戏数据传输
- 更新 ApiGameController 和 ApiMemberController 中的相关方法
- 优化部分代码结构,使用 SuperBuilder 等特性
2025-03-14 13:31:17 +08:00
shi b29e21816c feat(game): 添加平台成本计算功能
- 在 Constants 中添加 HUNDRED 常量,用于成本计算
- 在 ITenantPlatformService 中添加 findTenantPlatform 方法,用于获取租户平台信息
- 修改 TenantGameQuotaFlowMapper,增加 platform_code 字段查询
- 更新 TenantGameQuotaServiceImpl 中的 balanceChanges 方法,加入平台成本计算逻辑
- 在 TenantPlatformMapper 中添加 findTenantPlatform 方法的 SQL 查询- 更新 TenantPlatformServiceImpl,实现 findTenantPlatform 方法
- 修改 TenantQuotaTask 中的 updateBalance 方法,考虑平台成本因素
2025-03-01 13:31:32 +08:00
shi 1323f46128 refactor(ff-game): 重构游戏模块代码
- 将 ff-admin 项目中的游戏相关代码迁移到 ff-game 项目
- 优化了游戏兑换货币相关的数据结构和接口
- 添加了新的佣金相关枚举和DTO
-调整了游戏赌博详情的查询逻辑
2025-02-27 16:26:02 +08:00