WrBug
95930332df
refactor: 移除刷新代理钱包接口,增加copyRatio精度支持
- 移除刷新代理钱包相关接口和方法
- AccountController: 移除 /refresh-proxy 和 /refresh-all-proxies 接口
- AccountService: 移除 refreshProxyAddress 和 refreshAllProxyAddresses 方法
- 增加 copyRatio 字段精度支持
- CopyTrading: copyRatio 精度从 DECIMAL(10,2) 增加到 DECIMAL(20,8)
- CopyTradingTemplate: copyRatio 精度从 DECIMAL(10,2) 增加到 DECIMAL(20,8)
- 新增数据库迁移脚本 V18__increase_copy_ratio_precision.sql
- 前端工具函数
- 添加 formatNumber 函数用于格式化数字显示
修复的文件:
- AccountController.kt
- AccountService.kt
- CopyTrading.kt
- CopyTradingTemplate.kt
- frontend/src/utils/index.ts
- V18__increase_copy_ratio_precision.sql