|
@@ -422,7 +422,7 @@ func (this *ReportController) RecentList() {
|
|
|
br.ErrMsg = "研报列表查询失败,系统异常,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
- reportPdfList, err := models.GetReportPdfListByCondition("", []interface{}{}, 1, 3)
|
|
|
+ reportPdfList, err := models.GetReportPdfListByCondition("", []interface{}{}, 0, 3)
|
|
|
if err != nil {
|
|
|
br.Msg = "研报列表查询失败"
|
|
|
br.ErrMsg = "研报列表查询失败,系统异常,Err:" + err.Error()
|
|
@@ -440,11 +440,14 @@ func (this *ReportController) RecentList() {
|
|
|
ClassifyNameFirst: v.ClassifyNameFirst,
|
|
|
ClassifyIdSecond: v.ClassifyIdSecond,
|
|
|
ClassifyNameSecond: v.ClassifyNameSecond,
|
|
|
+ PdfUrl: v.PdfUrl,
|
|
|
Title: v.Title,
|
|
|
Abstract: v.Abstract,
|
|
|
Stage: v.Stage,
|
|
|
Author: v.Author,
|
|
|
ReportType: utils.ReportTypePdf,
|
|
|
+ PublishTime: v.PublishTime.Format(utils.FormatDate),
|
|
|
+ ModifyTime: v.ModifyTime,
|
|
|
})
|
|
|
}
|
|
|
sort.Sort(models.ByPublishTimeReportView(reportList.List))
|