|
@@ -978,8 +978,31 @@ func (this *MobileReportController) SearchReport() {
|
|
|
ButtonStyle: styleMap[v.ArticleTypeId],
|
|
|
List: v.List,
|
|
|
}
|
|
|
- if v.ArticleTypeId == - 1{
|
|
|
+ if v.IsSpecial == 1 {
|
|
|
+ //去除图片标签
|
|
|
+ item.Annotation = utils.ArticleRemoveImgUrl(item.Annotation)
|
|
|
+
|
|
|
+ item.IsSpecial = true
|
|
|
item.ImgUrlPc = utils.CYGX_YANXUAN_SPECIAL_IMG_PC
|
|
|
+ if v.CompanyTags != "" {
|
|
|
+ item.CompanyTags = strings.Split(v.CompanyTags, ",")
|
|
|
+ } else {
|
|
|
+ item.CompanyTags = []string{}
|
|
|
+ }
|
|
|
+ if v.IndustryTags != "" {
|
|
|
+ item.IndustryTags = strings.Split(v.IndustryTags, ",")
|
|
|
+ } else {
|
|
|
+ item.IndustryTags = []string{}
|
|
|
+ }
|
|
|
+ item.ArticleTypeName = utils.CYGX_YANXUAN_SPECIAL
|
|
|
+ if v.SpecialType == 1 {
|
|
|
+ item.Title = "【笔记】" + item.Title
|
|
|
+ } else if v.SpecialType == 2 {
|
|
|
+ item.Title = "【观点】" + item.Title
|
|
|
+ }
|
|
|
+ if v.MyCollectNum > 0 {
|
|
|
+ item.IsCollect = true
|
|
|
+ }
|
|
|
}
|
|
|
if articleType == 1 {
|
|
|
resp.ListHz = append(resp.ListHz, &item)
|