zhangchuanxing před 4 měsíci
rodič
revize
9c07432821

+ 1 - 0
controllers/cygx/report_article.go

@@ -375,6 +375,7 @@ func (this *ReportArticleController) ReportArticleList() {
 			list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/ricc/yb/report/" + strconv.Itoa(v.ReportId)
 		} else {
 			list[k].HttpUrl = utils.CYGX_WEB_URL + "/material/info/" + strconv.Itoa(v.ArticleId)
+			list[k].ReportId = v.Id
 		}
 	}
 	page := paging.GetPaging(currentIndex, pageSize, total)

+ 1 - 0
models/cygx/report_article.go

@@ -32,6 +32,7 @@ type CygxReportArticleID struct {
 }
 
 type CygxReportArticle struct {
+	Id                int    `description:"主键ID"`
 	ReportId          int    `description:"报告id"`
 	ArticleId         int    `description:"文章id"`
 	Title             string `description:"标题"`