|
@@ -174,6 +174,10 @@ namespace GxPress.Service.Implement.Note
|
|
|
}
|
|
|
foreach (var item in result.Items)
|
|
|
{
|
|
|
+ if (!string.IsNullOrEmpty(item.FolderName))
|
|
|
+ item.FolderId = item.Id;
|
|
|
+ if (!string.IsNullOrEmpty(item.FolderParentName))
|
|
|
+ item.FolderName = item.FolderParentName;
|
|
|
//是否摘录
|
|
|
if (item.MediaId > 0)
|
|
|
{
|
|
@@ -497,7 +501,7 @@ namespace GxPress.Service.Implement.Note
|
|
|
await _visitService.AddVisit(userId, 4, id);
|
|
|
//是否自建
|
|
|
result.IsAdmin = note.UserId == userId;
|
|
|
- var praisePageSearchRequest = new PraisePageSearchRequest { SourceId = id, TypeValue =analyzeRequest.TypeValue, Page = 1, PerPage = 3 };
|
|
|
+ var praisePageSearchRequest = new PraisePageSearchRequest { SourceId = id, TypeValue = analyzeRequest.TypeValue, Page = 1, PerPage = 3 };
|
|
|
result.NotePraisePagedList = await _analyzeService.GetPraisePageAsync(praisePageSearchRequest);
|
|
|
return result;
|
|
|
}
|