xingzai 2 bulan lalu
induk
melakukan
cce465f8c2
2 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 2 0
      controllers/report.go
  2. 1 0
      models/report.go

+ 2 - 0
controllers/report.go

@@ -918,6 +918,7 @@ func (this *MobileReportController) SearchReport() {
 			}
 			if v.ReportId > 0 {
 				item.Resource = 3
+				item.ReportId = v.ReportId
 			}
 			resp.ListHz = append(resp.ListHz, &item)
 		}
@@ -1000,6 +1001,7 @@ func (this *MobileReportController) SearchReport() {
 			}
 			if v.ReportId > 0 {
 				item.Resource = 3
+				item.ReportId = v.ReportId
 			}
 			if v.IsSpecial == 1 {
 				//去除图片标签

+ 1 - 0
models/report.go

@@ -861,6 +861,7 @@ type ArticleResearchResp struct {
 	SpecialColumnId int                          `description:"专栏栏目id"`
 	TopTime         int                          `description:"置顶时间"`
 	Resource        int                          `description:"来源类型,1:文章、2:产品内测、3:FICC研报"`
+	ReportId        int                          `description:"FICC研报ID"`
 }
 
 // 获取数量