Prechádzať zdrojové kódy

Merge branch 'cygx_12.0' of http://8.136.199.33:3000/cxzhang/hongze_clpt into debug

xingzai 1 rok pred
rodič
commit
0cbcd802ed
2 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 1 0
      services/es_comprehensive.go
  2. 1 0
      services/resource_data.go

+ 1 - 0
services/es_comprehensive.go

@@ -791,6 +791,7 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 		}
 
 		for _, v := range listyanxuanSpecial {
+			v.PublishTime = utils.TimeRemoveHms2(v.PublishTime)
 			v.Annotation, _ = GetReportContentTextSubNew(v.Content)
 			mapItems[fmt.Sprint(utils.CYGX_OBJ_YANXUANSPECIAL, v.Id)].YanxuanSpecial = v
 		}

+ 1 - 0
services/resource_data.go

@@ -455,6 +455,7 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
 		}
 
 		for _, v := range listyanxuanSpecial {
+			v.PublishTime = utils.TimeRemoveHms2(v.PublishTime)
 			v.Annotation, _ = GetReportContentTextSubNew(v.Content)
 			mapItems[fmt.Sprint(utils.CYGX_OBJ_YANXUANSPECIAL, v.Id)].YanxuanSpecial = v
 		}