소스 검색

no message

xingzai 5 달 전
부모
커밋
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) {
-	if item.ArticleId >= utils.SummaryArticleId {
+	if item.ArticleId >= utils.SummaryArticleId && item.ReportId == 0 {
 		item.Annotation = YxArticleAnnotation(item)
 	}
 	if item.Annotation != "" {