From 995ec1023928f20508f2867f55846132d7dd6cf2 Mon Sep 17 00:00:00 2001 From: zpc Date: Tue, 20 Aug 2024 01:54:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs | 4 ++-- .../HuanMeng.MiaoYu.Model/Dto/Account/MyAccountInfoDto.cs | 2 +- src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs b/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs index 6030ecb..e698aeb 100644 --- a/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs +++ b/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs @@ -88,7 +88,7 @@ namespace HuanMeng.MiaoYu.Code.Cache.Special var t = new CurrencyRecharge() { Id = product.Id, - Price = price, + Price = price.ToString(), ProductId = product.ProductId, CurrencyType = product.ProductType, Discount = "", @@ -132,7 +132,7 @@ namespace HuanMeng.MiaoYu.Code.Cache.Special var t = new MallItemDto() { - Price = price, + Price = price.ToString(), ProductId = product.ProductId, PriceType = 0, ProductName = product.ProductName, diff --git a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Account/MyAccountInfoDto.cs b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Account/MyAccountInfoDto.cs index 32cbf80..f1f5452 100644 --- a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Account/MyAccountInfoDto.cs +++ b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Account/MyAccountInfoDto.cs @@ -45,7 +45,7 @@ namespace HuanMeng.MiaoYu.Model.Dto.Account /// /// 价格 /// - public decimal Price { get; set; } + public string Price { get; set; } /// /// 折扣 -0.1 -10% diff --git a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs index 2250c84..d6662f7 100644 --- a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs +++ b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Shop/ShopInfoDto.cs @@ -60,7 +60,7 @@ namespace HuanMeng.MiaoYu.Model.Dto.Shop /// /// 金额 /// - public decimal Price { get; set; } + public string Price { get; set; } /// /// 支付类型 0 语珠 1 RMB