xingzai il y a 8 mois
Parent
commit
50f0c60648
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      services/article.go

+ 2 - 1
services/article.go

@@ -516,7 +516,8 @@ func YxArticleAnnotation(article *models.HomeArticle) (annotation string) {
 			body = body[0:endIndex]
 		}
 	}
-	annotation = body
+
+	annotation, _ = GetReportContentTextSub(body)
 	return
 }