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