Explorar el Código

Merge branch 'cygx/7.6' into debug

hsun hace 2 años
padre
commit
773eb3145b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      controllers/search.go

+ 1 - 0
controllers/search.go

@@ -449,6 +449,7 @@ func (this *SearchController) ListHomeArtAndChart() {
 				result[k].ImgUrlPc = mapCategoryUrl[v.CategoryId]
 			}
 			result[k].Source = 1
+			result[k].PublishDate = utils.StrTimeToTime(result[k].PublishDate).Format(utils.FormatDate)
 		}
 	}
 	// ListType   query   int  true       "列表类型,1最新/全部,2 纪要 ,3图表 默认1"