ソースを参照

fix:更换字段

zqbao 9 ヶ月 前
コミット
95732d64e5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      services/report.go

+ 1 - 1
services/report.go

@@ -86,7 +86,7 @@ func SearchReport(keyWord string, pageIndex, pageSize int) (ret *response.Report
 			temp.PublishTime, err = time.ParseInLocation(utils.FormatDateTime, reportItem.PublishTime, time.Local)
 			temp.Abstract = reportItem.Abstract
 			temp.Author = reportItem.Author
-			temp.StageStr = reportItem.StageStr
+			temp.Stage = reportItem.StageStr
 
 			if len(v.Highlight["Title"]) > 0 {
 				temp.Title = v.Highlight["Title"][0]