|
@@ -454,7 +454,7 @@ namespace GxPress.Service.Implement.Note
|
|
|
result.FolderName = middle != null ? middle.FolderName : "";
|
|
|
}
|
|
|
var analyzeRequest = new Request.App.Analyze.AnalyzeRequest();
|
|
|
- analyzeRequest.TypeValue = 4;
|
|
|
+ analyzeRequest.TypeValue = AllTypeConst.Note.GetHashCode();
|
|
|
analyzeRequest.AnalyzeType = 1;
|
|
|
analyzeRequest.SourceId = id;
|
|
|
analyzeRequest.UserId = userId;
|
|
@@ -482,7 +482,7 @@ namespace GxPress.Service.Implement.Note
|
|
|
await _visitService.AddVisit(userId, 4, id);
|
|
|
//是否自建
|
|
|
result.IsAdmin = note.UserId == userId;
|
|
|
- var praisePageSearchRequest = new PraisePageSearchRequest { SourceId = id, TypeValue = 3, Page = 1, PerPage = 3 };
|
|
|
+ var praisePageSearchRequest = new PraisePageSearchRequest { SourceId = id, TypeValue = AllTypeConst.Note.GetHashCode(), Page = 1, PerPage = 3 };
|
|
|
result.NotePraisePagedList = await _analyzeService.GetPraisePageAsync(praisePageSearchRequest);
|
|
|
return result;
|
|
|
}
|