From 4e9df5bb9126985baebf24254d1ab9114826d928 Mon Sep 17 00:00:00 2001 From: wyongk <937888580@qq.com> Date: Tue, 19 Jan 2021 21:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E6=AF=9B=E9=92=B1?= =?UTF-8?q?=E5=A5=97=E9=A4=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index cf7c8b6..d83777c 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -237,7 +237,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, if (userPrice != null && userPrice.UserPrice > 0) price = userPrice.UserPrice; - if (ProductAccountCount == 0 && packageEntity.DayCount == 1 && packageEntity.ProductId!=5 && request.ConnectCount == 1 && request.OrderType!=OrderType.AgainBuy&& request.OrderType!=OrderType.AgainBuys){ + if (ProductAccountCount == 0 && request.OrderType != OrderType.News && packageEntity.DayCount == 1 && packageEntity.ProductId!=5 && request.ConnectCount == 1 && request.OrderType!=OrderType.AgainBuy&& request.OrderType!=OrderType.AgainBuys){ price = 0.1M; userEntity.ProductAccountCount = 1; await m_UserService.Update(userEntity);