From db1619406218868305598fa9f22d8149752cea5a Mon Sep 17 00:00:00 2001 From: wood chen Date: Sat, 22 Mar 2025 09:44:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BB=B7=E6=A0=BC=E5=80=8D?= =?UTF-8?q?=E7=8E=87=E7=BB=93=E6=9E=84=E4=B8=AD=E7=9A=84=20ModelType=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 PriceRate 结构中删除 ModelType 字段,以简化数据结构。 - 优化代码可读性,确保数据模型更加清晰。 --- backend/handlers/rates/price_rates.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/handlers/rates/price_rates.go b/backend/handlers/rates/price_rates.go index b4350ef..71e8bba 100644 --- a/backend/handlers/rates/price_rates.go +++ b/backend/handlers/rates/price_rates.go @@ -13,7 +13,6 @@ import ( // PriceRate 价格倍率结构 type PriceRate struct { Model string `json:"model"` - ModelType string `json:"model_type"` Type string `json:"type"` ChannelType uint `json:"channel_type"` Input float64 `json:"input"`