李昊 4 years ago
parent
commit
0404d0b6df

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

@@ -151,7 +151,7 @@ namespace GxPress.Service.Implement.Collection
                     collection.Title = GetCollctionTitle(note.Content);
             }
             //通知
-            else if (request.CollectionType == AllTypeConst.Inbox.GetHashCode())
+            else if (request.CollectionType == AllTypeConst.Notice.GetHashCode())
             {
                 //通知
                 analyzeRequest.TypeValue = request.CollectionType;
@@ -162,7 +162,7 @@ namespace GxPress.Service.Implement.Collection
                     collection.Title = GetCollctionTitle(notice.Content);
             }
             //站内信
-            else if (request.CollectionType == AllTypeConst.Inbox.GetHashCode())
+            else if (request.CollectionType == AllTypeConst.Missive.GetHashCode())
             {
                 var notice = await _noticeRepository.GetAsync(request.CollectionDataId);
                 collection.Title = notice.Title;