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
|
513c3a015c
|
refactor(agent): 重构代理商业务
- 新增 AgentController 类,实现代理商业务功能
- 重构 AgentCreateTenantRequest 类,添加数据校验注解
- 新增 AgentTenantSecretKeyDTO 类,用于代理租户密钥展示
- 删除 ApiAgentController 类,将相关功能合并到 AgentController- 更新相关服务类和 Mapper 类,调整字段和方法以适应新的业务逻辑
|
2025-02-25 10:05:13 +08:00 |
shi
|
d717350e61
|
feat(game): 添加游戏兑换功能并优化相关数据结构
- 在 GameExchangeMoney 和 TenantGameQuotaFlow 表中添加订单号字段- 更新相关接口和实现类以支持订单号查询
- 添加币种汇率相关接口
- 优化成员信息请求结构
- 更新游戏配额类型枚举
|
2025-02-22 10:58:23 +08:00 |
shi
|
9ee0e34d16
|
feat(api): 重构游戏余额兑换逻辑
- 新增 GameBalanceExchange DTO 用于封装游戏余额兑换参数
- 在 ITenantGameQuotaService 中添加 gameBalanceExchange 方法处理兑换逻辑
- 优化了额度类型的处理,使用新的 QuotaType 枚举
- 调整了 TenantGameQuota 和 Tenant
|
2025-02-21 14:39:21 +08:00 |
shi
|
12981b9dbd
|
项目初始化
|
2025-02-11 15:27:15 +08:00 |