xingzai 5 luni în urmă
părinte
comite
1cf65a05d0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -1981,7 +1981,7 @@ func HandleArticleCategoryImg(list []*models.HomeArticle) (items []*models.HomeA
 
 // 处理核心观点的展示规则
 func ArticleAnnotation(item *models.HomeArticle) (annotation string) {
-	if item.ArticleId >= utils.SummaryArticleId {
+	if item.ArticleId >= utils.SummaryArticleId && item.ReportId == 0 {
 		item.Annotation = YxArticleAnnotation(item)
 	}
 	if item.Annotation != "" {