Browse Source

no message

xingzai 1 năm trước cách đây
mục cha
commit
974c89ba1e
1 tập tin đã thay đổi với 0 bổ sung26 xóa
  1. 0 26
      services/es_comprehensive.go

+ 0 - 26
services/es_comprehensive.go

@@ -634,32 +634,6 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 				continue
 			}
 
-			if v.Activity != nil && v.SourceId == vList.SourceId {
-				v.Activity.ActivityName = vList.Title
-			}
-			if v.Activityvideo != nil && v.SourceId == vList.SourceId {
-				v.Activityvideo.Title = vList.Title
-			}
-			if v.Activityvoice != nil && v.SourceId == vList.SourceId {
-				v.Activityvoice.Title = vList.Title
-			}
-
-			if v.Researchsummary != nil && v.SourceId == vList.SourceId {
-				v.Researchsummary.Title = vList.Title
-			}
-			if v.Minutessummary != nil && v.SourceId == vList.SourceId {
-				v.Minutessummary.Title = vList.Title
-			}
-			if v.ProductInterior != nil && v.SourceId == vList.SourceId {
-				v.ProductInterior.Title = vList.Title
-			}
-			//if v.IndustrialResource != nil && v.SourceId == vList.SourceId {
-			//	v.IndustrialResource.UpdateTime = vList.PublishDate
-			//}
-
-			if v.YanxuanSpecial != nil && v.SourceId == vList.SourceId {
-				v.YanxuanSpecial.Title = vList.Title
-			}
 			if v.SourceId == vList.SourceId && v.Source == vList.Source {
 				items = append(items, v)
 			}