|
@@ -806,9 +806,9 @@ 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 {
|
|
|
- // v.IndustrialResource.UpdateTime = vList.PublishDate
|
|
|
- //}
|
|
|
+ if v.IndustrialResource != nil && v.SourceId == vList.SourceId {
|
|
|
+ v.IndustrialResource.UpdateTime = strings.Replace(vList.PublishDate, "00:00:00", "", -1)
|
|
|
+ }
|
|
|
if v.SourceId == vList.SourceId && v.Source == vList.Source {
|
|
|
items = append(items, v)
|
|
|
}
|