xingzai 8 ヶ月 前
コミット
1cf65a05d0
1 ファイル変更1 行追加1 行削除
  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) {
 func ArticleAnnotation(item *models.HomeArticle) (annotation string) {
-	if item.ArticleId >= utils.SummaryArticleId {
+	if item.ArticleId >= utils.SummaryArticleId && item.ReportId == 0 {
 		item.Annotation = YxArticleAnnotation(item)
 		item.Annotation = YxArticleAnnotation(item)
 	}
 	}
 	if item.Annotation != "" {
 	if item.Annotation != "" {