|
@@ -34,7 +34,12 @@ func (this *EnglishReportShareController) EnglishReportDetail() {
|
|
|
br.ErrMsg = "获取报告详情失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+ err = models.UpdateEnglishReportCounts(reportCode)
|
|
|
+ if err != nil {
|
|
|
+ br.Msg = "更新失败"
|
|
|
+ br.ErrMsg = "更新失败,Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
report.ContentSub = html.UnescapeString(report.ContentSub)
|
|
|
report.Content = html.UnescapeString(report.Content)
|
|
|
|