Browse Source

fix:修改今日研报排序

zqbao 9 months ago
parent
commit
2304a4a0f1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/report.go

+ 2 - 1
controllers/report.go

@@ -432,10 +432,11 @@ func (this *ReportController) DailyList() {
 			Stage:              v.Stage,
 			Author:             v.Author,
 			ReportType:         utils.ReportTypePdf,
-			PublishTime:        v.PublishTime.Format(utils.FormatDate),
+			PublishTime:        v.PublishTime.Format(utils.FormatDateTime),
 			ModifyTime:         v.ModifyTime,
 		})
 	}
+	sort.Sort(models.ByPublishTimeReportView(reportList.List))
 
 	br.Data = reportList
 	br.Msg = "查询成功"