소스 검색

no message

xingzai 1 년 전
부모
커밋
b7d6edfc13
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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
 	}