rdluck 4 years ago
parent
commit
9ea4910b32
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/user.go

+ 2 - 1
controllers/user.go

@@ -3,6 +3,7 @@ package controllers
 import (
 	"encoding/json"
 	"hongze/hongze_cygx/models"
+	"hongze/hongze_cygx/services"
 	"hongze/hongze_cygx/utils"
 	"rdluck_tools/paging"
 	"strconv"
@@ -335,7 +336,7 @@ func (this *UserController) CollectList() {
 		list[i].UpdateFrequency = article.UpdateFrequency
 		list[i].CreateDate = article.CreateDate
 		list[i].PublishDate = article.PublishDate
-		list[i].Body = article.Body
+		list[i].Body, _ = services.GetReportContentSub(article.Body)
 		list[i].Abstract = article.Abstract
 		list[i].CategoryName = article.CategoryName
 		list[i].SubCategoryName = article.SubCategoryName