|
@@ -441,11 +441,10 @@ namespace GxPress.Service.Implement.Note
|
|
|
var result = _mapper.Map<NoteDetailResult>(note);
|
|
|
var user = await _userRepository.GetAsync(result.UserId);
|
|
|
result.Name = user.Name;
|
|
|
+ result.AvatarUrl = StringUtils.AddDomainMin(user.AvatarUrl);
|
|
|
var list = JsonConvert.DeserializeObject<List<ContentJsonData>>(note.Content);
|
|
|
foreach (var item in list)
|
|
|
- {
|
|
|
item.File = StringUtils.AddDomain(item.File);
|
|
|
- }
|
|
|
if (userId == 0)
|
|
|
return result;
|
|
|
//获取共享文件夹名称
|