wood chen 680d684016 重构价格倍率处理逻辑,提取独立模块
- 将价格倍率处理函数从 handlers/prices.go 移动到新的 handlers/rates 包
- 更新 main.go 中的路由配置,使用新的 rates.GetPriceRates 处理函数
- 在 prices.go 中新增 clearPriceCache 时调用 rates.ClearRatesCache
- 模块化价格倍率计算逻辑,提高代码组织性和可维护性
2025-03-12 16:35:15 +08:00
..
2025-03-06 23:32:18 +08:00