From 036154aa20a3fbc9285ce1eb4d7b5bb59c5995b4 Mon Sep 17 00:00:00 2001 From: zpc Date: Thu, 29 Aug 2024 17:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B8=B8=E6=88=8F=E9=A6=96?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 de21cf0..b17701d 100644 --- a/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs +++ b/src/0-core/HuanMeng.MiaoYu.Code/Cache/Special/ProductEntityCache.cs @@ -79,7 +79,7 @@ namespace HuanMeng.MiaoYu.Code.Cache.Special var currencyCount = product.Rewards.Where(it => it.CurrencyType == (int)UserCurrencyType.语珠).Sum(it => it.Money); var imgUrl = product.ProductImg; var price = product.Price; - if (product.IsFirstCharge && userOrderBy.ContainsKey(product.ProductId)) + if (product.IsFirstCharge && !userOrderBy.ContainsKey(product.ProductId)) { imgUrl = product.FirstChargeImg; currencyCount = product.Rewards.Where(it => it.CurrencyType == (int)UserCurrencyType.语珠).Select(it => it.Money + it.FirstChargeMoney).Sum() ?? 0;