feat:bug fixd vip绑定查询次数未改变问题
parent
568ff5ab11
commit
dd7f2612ad
|
|
@ -172,9 +172,9 @@ namespace New_College.Api.Controllers.Back
|
||||||
}).FirstOrDefault();
|
}).FirstOrDefault();
|
||||||
response.minProRole = list.Where(e => e.PType == 1).Select(c => new MinProRole()
|
response.minProRole = list.Where(e => e.PType == 1).Select(c => new MinProRole()
|
||||||
{
|
{
|
||||||
ScoreCount = c.ScoreCount,
|
ScoreCount = response.IsVip ? 999 : c.ScoreCount,
|
||||||
SearchCount = c.SearchCount,
|
SearchCount = response.IsVip ? 999 : c.SearchCount,
|
||||||
ShowCount = c.ShowCount
|
ShowCount = response.IsVip ? 999 : c.ShowCount
|
||||||
}).FirstOrDefault();
|
}).FirstOrDefault();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue