|
@@ -497,7 +497,7 @@ namespace GxPress.Service.Implement.Note
|
|
|
await _visitService.AddVisit(userId, 4, id);
|
|
|
//是否自建
|
|
|
result.IsAdmin = note.UserId == userId;
|
|
|
- var praisePageSearchRequest = new PraisePageSearchRequest { SourceId = id, TypeValue = AllTypeConst.Note.GetHashCode(), 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;
|
|
|
}
|