From 5af0dc3619273d78a028bf0f8a810846337e2c53 Mon Sep 17 00:00:00 2001 From: milimoe Date: Wed, 2 Apr 2025 00:50:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OshimaWebAPI/OshimaWebAPI.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OshimaWebAPI/OshimaWebAPI.cs b/OshimaWebAPI/OshimaWebAPI.cs index b24baa7..bd5de9d 100644 --- a/OshimaWebAPI/OshimaWebAPI.cs +++ b/OshimaWebAPI/OshimaWebAPI.cs @@ -143,10 +143,10 @@ namespace Oshima.FunGame.WebAPI Description = (string)dr[GoodsQuery.Column_Description], Stock = Convert.ToInt32(dr[GoodsQuery.Column_Stock]) }; - Item item = Factory.OpenFactory.GetInstance((long)dr[GoodItemsQuery.Column_ItemId], "", []); + Item item = Factory.OpenFactory.GetInstance((long)dr[GoodsItemsQuery.Column_ItemId], "", []); goods.Items.Add(item); - string currency = (string)dr[GoodPricesQuery.Column_Currency]; - double price = (double)dr[GoodPricesQuery.Column_Price]; + string currency = (string)dr[GoodsPricesQuery.Column_Currency]; + double price = (double)dr[GoodsPricesQuery.Column_Price]; goods.Prices.Add(currency, price); storeTemp.Goods.Add(goods.Id, goods); @@ -185,10 +185,10 @@ namespace Oshima.FunGame.WebAPI Description = (string)dr[GoodsQuery.Column_Description], Stock = Convert.ToInt32(dr[GoodsQuery.Column_Stock]) }; - Item item = Factory.OpenFactory.GetInstance((long)dr[GoodItemsQuery.Column_ItemId], "", []); + Item item = Factory.OpenFactory.GetInstance((long)dr[GoodsItemsQuery.Column_ItemId], "", []); goods.Items.Add(item); - string currency = (string)dr[GoodPricesQuery.Column_Currency]; - double price = (double)dr[GoodPricesQuery.Column_Price]; + string currency = (string)dr[GoodsPricesQuery.Column_Currency]; + double price = (double)dr[GoodsPricesQuery.Column_Price]; goods.Prices.Add(currency, price); list.Add(goods); }