Merge branch 'refs/heads/abp' into digital-collectibles

This commit is contained in:
橙子
2024-12-10 00:06:14 +08:00
4 changed files with 20 additions and 8 deletions

View File

@@ -116,7 +116,9 @@ namespace Yi.Framework.Bbs.Application.Services.Analyses
)
.ToPageListAsync(pageIndex, input.MaxResultCount, total);
output.ForEach(x => { x.LevelName = _bbsUserManager._levelCacheDic[x.Level].Name; });
var levelCache = await _bbsUserManager.GetLevelCacheMapAsync();
output.ForEach(x => { x.LevelName = levelCache[x.Level].Name; });
return new PagedResultDto<MoneyTopUserDto>
{
Items = output,