refactor(withdraw): 优化快速提现金额计算逻辑

- 引入舍入单位计算,避免小额差值导致的选项过多问题
- 实现最小最大钻石数量的舍入处理
- 重构快速提现金额生成算法,提高计算精度
- 使用索引映射方式重新实现金额选项生成
- 更新项目索引统计信息,反映代码结构变化
This commit is contained in:
JiaJun
2026-07-10 14:34:32 +08:00
parent 6fd9862019
commit 2d88e4a204
3 changed files with 23 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
<!-- gitnexus:start -->
# GitNexus — Code Intelligence
This project is indexed by GitNexus as **36-character-flower** (3095 symbols, 6119 relationships, 264 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
This project is indexed by GitNexus as **36-character-flower** (3365 symbols, 6609 relationships, 288 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
> If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first.