|
@@ -45,7 +45,12 @@ namespace GxPress.Service.Implement.AppHomePage
|
|
|
/// <returns></returns>
|
|
|
public async Task<IEnumerable<MediaCathedraResult>> MediaCathedraResult(ArticleGroupRequest request)
|
|
|
{
|
|
|
- return await mediaRepository.GetMediasByTeacherAsync(request);
|
|
|
+ var result = await mediaRepository.GetMediasByTeacherAsync(request);
|
|
|
+ foreach (var item in result)
|
|
|
+ {
|
|
|
+ item.ImageUrls = Common.Tools.StringUtils.AddDomain(item.ImageUrls);
|
|
|
+ }
|
|
|
+ return result;
|
|
|
}
|
|
|
}
|
|
|
}
|