李昊 4 years ago
parent
commit
b545d58fa0

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Collection/CollectionService.cs

@@ -479,7 +479,7 @@ namespace GxPress.Service.Implement.Collection
             }
 
             //笔记
-            if (collectionType == GxPress.EnumConst.AllTypeConst.Note.GetHashCode() || collectionType == 21)
+            if (collectionType == GxPress.EnumConst.AllTypeConst.Note.GetHashCode() || collectionType == GxPress.EnumConst.AllTypeConst.TopicNote.GetHashCode())
             {
                 var note = await _noteRepository.GetAsync(collectionDataId);
                 if (note != null)