From dd7f2612ade949f58d85f13873c911c62e63f5a2 Mon Sep 17 00:00:00 2001 From: liuyangyi Date: Sat, 22 Jun 2024 10:46:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:bug=20fixd=20vip=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=AC=A1=E6=95=B0=E6=9C=AA=E6=94=B9=E5=8F=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- New_College.Api/Controllers/Back/VipCardController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/New_College.Api/Controllers/Back/VipCardController.cs b/New_College.Api/Controllers/Back/VipCardController.cs index 4da5082..8ce8174 100644 --- a/New_College.Api/Controllers/Back/VipCardController.cs +++ b/New_College.Api/Controllers/Back/VipCardController.cs @@ -172,9 +172,9 @@ namespace New_College.Api.Controllers.Back }).FirstOrDefault(); response.minProRole = list.Where(e => e.PType == 1).Select(c => new MinProRole() { - ScoreCount = c.ScoreCount, - SearchCount = c.SearchCount, - ShowCount = c.ShowCount + ScoreCount = response.IsVip ? 999 : c.ScoreCount, + SearchCount = response.IsVip ? 999 : c.SearchCount, + ShowCount = response.IsVip ? 999 : c.ShowCount }).FirstOrDefault(); } else