李昊 преди 4 години
родител
ревизия
2ae79345d9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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;