feat:bug fixd vip绑定查询次数未改变问题

develop
liuyangyi 2024-06-22 10:46:52 +08:00
parent 568ff5ab11
commit dd7f2612ad
1 changed files with 3 additions and 3 deletions

View File

@ -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