|
@@ -583,7 +583,10 @@ namespace GxPress.Repository.Implement.Media
|
|
|
query.OrderByDesc(nameof(Entity.tede2.Media.Media.IsTop));
|
|
|
query.OrderByDesc(nameof(Entity.tede2.Media.Media.IsRecommend));
|
|
|
query.ForPage(request.Page, request.PerPage);
|
|
|
- return await _repository.GetAllAsync<RankingListResult>(query);
|
|
|
+ var result = await _repository.GetAllAsync<RankingListResult>(query);
|
|
|
+ foreach (var item in result)
|
|
|
+ item.ImageUrls = StringUtils.AddDomain(item.ImageUrls);
|
|
|
+ return result;
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 排行榜分页
|
|
@@ -656,6 +659,8 @@ namespace GxPress.Repository.Implement.Media
|
|
|
query.OrderByDesc(nameof(Entity.tede2.Media.Media.IsRecommend));
|
|
|
query.ForPage(request.Page, request.PerPage);
|
|
|
result.Items = await _repository.GetAllAsync<RankingListResult>(query);
|
|
|
+ foreach (var item in result.Items)
|
|
|
+ item.ImageUrls = StringUtils.AddDomain(item.ImageUrls);
|
|
|
return result;
|
|
|
}
|
|
|
/// <summary>
|