From 84ff573b339ac70ecfbe75b866f629bff2d29c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sun, 27 Dec 2020 15:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views/Product/Index.cshtml | 2 +- .../Response/Product/ProductWithPackageResponse.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index de527fb..eb8afbd 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -361,7 +361,7 @@ @*

@item.Product.Name

*@
- @if(item.Product.Id != 5){ + @if(item.Product.TenantId == 1157){

免费

@restStatus

diff --git a/Services/Hncore.Pass.Vpn/Response/Product/ProductWithPackageResponse.cs b/Services/Hncore.Pass.Vpn/Response/Product/ProductWithPackageResponse.cs index 1a68574..583cc24 100644 --- a/Services/Hncore.Pass.Vpn/Response/Product/ProductWithPackageResponse.cs +++ b/Services/Hncore.Pass.Vpn/Response/Product/ProductWithPackageResponse.cs @@ -15,6 +15,7 @@ namespace Hncore.Pass.Vpn.Response.Product public int Sort { get; set; } public string Content { get; set; } public string Profile { get; set; } + public int TenantId { get; set; } public int OnLine { get; set; } = 1;