李昊 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;