mirror of
https://github.com/woodchen-ink/aimodels-prices.git
synced 2025-07-18 05:32:00 +08:00
- 将价格倍率处理函数从 handlers/prices.go 移动到新的 handlers/rates 包 - 更新 main.go 中的路由配置,使用新的 rates.GetPriceRates 处理函数 - 在 prices.go 中新增 clearPriceCache 时调用 rates.ClearRatesCache - 模块化价格倍率计算逻辑,提高代码组织性和可维护性