xingzai 1 tahun lalu
induk
melakukan
b7d6edfc13
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      controllers/article.go

+ 3 - 0
controllers/article.go

@@ -432,6 +432,9 @@ Loop:
 			detail.ReportLink += "?token=" + chartUserTokenByMobile
 		}
 	}
+	if articleId < utils.SummaryArticleId {
+		detail.Abstract, _ = services.GetReportContentTextSubNew(detail.Abstract)
+	}
 	if detail.ArticleTypeId == 14 {
 		detail.IsApplyAppointmentExpert = true //判断文章类型是否属于专家访谈  查研观向11.0
 	}