From 839f1af15131ef1ef531ff5628c198deda96d8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 13 May 2022 16:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E6=9E=81=E7=A6=81=E7=94=A8=E9=80=80?= =?UTF-8?q?=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views/Product/Index.cshtml | 3 +++ Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index 477dca6..dfd04b8 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -840,6 +840,9 @@

温馨提示:需求5个以上,可以联系客服设置优惠价

开通后有任何问题可无理由退款,并支持自助提现

+ @if(item.Product.Id == 21 ||item.Product.Id == 20){ +

无极所有产品均不支持退款,请先开天卡测试

+ }
diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index 83fded1..31ab1ee 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -841,6 +841,9 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, { return new ApiResult(ResultCode.C_Illegal_Operation, "账户不存在"); } + if(accountInfo.ProductId == 20||accountInfo.ProductId == 21){ + return new ApiResult(ResultCode.C_Illegal_Operation, "无极账号不允许退款"); + } if (accountInfo.AccountType == (int)AccountType.Origin) { return new ApiResult(ResultCode.C_Illegal_Operation, "认证的账号不能退款");