xingzai 1 tahun lalu
induk
melakukan
e7eb12d710
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      services/es_comprehensive.go

+ 1 - 1
services/es_comprehensive.go

@@ -806,7 +806,7 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 			if v.ProductInterior != nil && v.SourceId == vList.SourceId {
 				v.ProductInterior.Title = vList.Title
 			}
-			if v.IndustrialResource != nil && v.SourceId == vList.SourceId {
+			if v.IndustrialResource != nil && v.SourceId == vList.SourceId && v.Source == vList.Source {
 				v.IndustrialResource.UpdateTime = strings.Replace(vList.PublishDate, "00:00:00", "", -1)
 			}
 			if v.SourceId == vList.SourceId && v.Source == vList.Source {