xingzai 2 rokov pred
rodič
commit
a27afc18f2
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      controllers/research.go

+ 5 - 0
controllers/research.go

@@ -454,6 +454,11 @@ func (this *MobileResearchController) ThemeDetail() {
 			ButtonStyle:     styleMap[v.ArticleTypeId],
 			List:            v.List,
 		}
+		if item.ArticleTypeName == "纪要" || item.ArticleTypeName == "沙龙" || item.ArticleTypeName == "专家访谈" {
+			item.Annotation = "核心结论:" + item.Annotation
+		} else {
+			item.Annotation = "核心观点:" + item.Annotation
+		}
 		resp.List = append(resp.List, &item)
 		articleIds = append(articleIds, v.ArticleId)
 	}