From d1c3a81b8f259c087ec8c5ff5248e842a8f3ed9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 2 Apr 2021 15:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index 27b4344..85648d7 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -245,6 +245,13 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, { return new ApiResult(ResultCode.C_INVALID_ERROR, "请前往实名认证"); } + // Console.WriteLine("=========================================================================="); + // Console.WriteLine(request.ConnectCount); + // Console.WriteLine("=========================================================================="); + + if (request.ConnectCount<=0){ + return new ApiResult(ResultCode.C_INVALID_ERROR, "链接数至少为1!"); + } //是否已经设置会员价