xingzai 10 ماه پیش
والد
کامیت
50f0c60648
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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
 }