|
@@ -85,6 +85,14 @@ func (this *ReportShareController) Detail() {
|
|
}
|
|
}
|
|
report.Abstract = report.Title
|
|
report.Abstract = report.Title
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ // 更新pv
|
|
|
|
+ if e = models.UpdateReportPv(report.Id); e != nil {
|
|
|
|
+ br.Msg = "获取失败"
|
|
|
|
+ br.ErrMsg = "更新报告pv失败, Err: " + e.Error()
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+
|
|
resp.Report.Report = report
|
|
resp.Report.Report = report
|
|
resp.Report.ChapterList = reportChapters
|
|
resp.Report.ChapterList = reportChapters
|
|
|
|
|