From 2adc1a983620ddef24cb7e9f94ee562c7a915e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 22 Jan 2021 09:29:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=92=8C=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index d83777c..927a490 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -217,6 +217,11 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, return new ApiResult(ResultCode.C_INVALID_ERROR, "服务不在线"); } + if (request.Account == request.Pwd) + { + return new ApiResult(ResultCode.C_INVALID_ERROR, "账号和密码不能一致"); + } + var userEntity = await m_UserService.GetById(userId); //天卡0.1元