李昊 4 jaren geleden
bovenliggende
commit
2ae79345d9
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      gx_api/GxPress/Service/GxPress.Service.Implement/Collection/CollectionService.cs

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

@@ -153,7 +153,7 @@ namespace GxPress.Service.Implement.Collection
                 collection.EndCollectionType = collectionEntity.EndCollectionType;
             }
             //笔记
-            else if (request.CollectionType == AllTypeConst.Note.GetHashCode() || request.CollectionType == 21)
+            else if (request.CollectionType == AllTypeConst.Note.GetHashCode() || request.CollectionType == AllTypeConst.TopicNote.GetHashCode())
             {
                 //收藏
                 analyzeRequest.TypeValue = request.CollectionType;