李昊 4 years ago
parent
commit
1995944f55

+ 4 - 0
gx_api/GxPress/Repository/GxPress.Repository.Implement/Media/MediaRepository.cs

@@ -796,6 +796,10 @@ namespace GxPress.Repository.Implement.Media
                 query.OrderByDesc(nameof(Entity.tede2.Media.Media.CreatedDate));
             query.ForPage(request.Page, request.PerPage);
             resut.Items = await _repository.GetAllAsync<MediaCathedraResult>(query);
+            foreach (var item in resut.Items)
+            {
+                item.ImageUrls = StringUtils.AddDomain(item.ImageUrls);
+            }
             return resut;
         }