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