浏览代码

Merge branch 'cygx/7.6' into debug

hsun 2 年之前
父节点
当前提交
773eb3145b
共有 1 个文件被更改,包括 1 次插入0 次删除
  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"