李昊 4 年之前
父節點
當前提交
c3cedb0b1e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Service/GxPress.Service.Implement/Note/NoteService.cs

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Note/NoteService.cs

@@ -469,7 +469,7 @@ namespace GxPress.Service.Implement.Note
                 result.FolderName = middle != null ? middle.FolderName : "";
             }
             var analyzeRequest = new Request.App.Analyze.AnalyzeRequest();
-            analyzeRequest.TypeValue = AllTypeConst.Note.GetHashCode();
+            analyzeRequest.TypeValue = note.IsTopic ? AllTypeConst.TopicNote.GetHashCode() : AllTypeConst.Note.GetHashCode();
             analyzeRequest.AnalyzeType = 1;
             analyzeRequest.SourceId = id;
             analyzeRequest.UserId = userId;