lihao 4 年之前
父节点
当前提交
8287f70dfe
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      gx_api/GxPress/Service/GxPress.Service.Implement/Collection/CollectionService.cs

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

@@ -269,7 +269,9 @@ namespace GxPress.Service.Implement.Collection
                 if (string.IsNullOrWhiteSpace(item.Title))
                 {
                     item.Title = "";
-                    if (item.Data.Type == AllTypeConst.Text.GetHashCode())
+                    if (item.Data.Type == AllTypeConst.Article.GetHashCode())
+                        item.Title = item.Data.Title;
+                    else if (item.Data.Type == AllTypeConst.Text.GetHashCode())
                         item.Title = item.Data.Title;
                     else if (item.Data.Type == AllTypeConst.MeetingSummary.GetHashCode())
                         item.Title = item.Data.Title;