Browse Source

fix: 研报列表期数

hsun 2 năm trước cách đây
mục cha
commit
002bf980f7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      services/report/report.go

+ 2 - 0
services/report/report.go

@@ -686,6 +686,8 @@ func GetReportList(user user.UserInfo, keyWord string, classifyIdFirst, classify
 					temp.ClassifyNameSecond = v.Highlight["ClassifyNameSecond"][0]
 				}
 				temp.Abstract = reportItem.Abstract
+				stageInt, _ := strconv.Atoi(reportItem.StageStr)
+				temp.Stage = stageInt
 				temp.StageStr = reportItem.StageStr
 				temp.Title = reportItem.Title
 				temp.PublishTime, err = time.Parse("2006-01-02 15:04:05", reportItem.PublishTime)