Sfoglia il codice sorgente

Merge branch 'cygx/7.6' into debug

hsun 2 anni fa
parent
commit
773eb3145b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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"