Browse Source

专家字段P标签

xingzai 3 years ago
parent
commit
0194402fad
1 changed files with 6 additions and 1 deletions
  1. 6 1
      controllers/activity.go

+ 6 - 1
controllers/activity.go

@@ -310,6 +310,8 @@ func (this *ActivityCoAntroller) ActivityList() {
 				list[k].ImgUrl = mapAddress["其它"]
 			}
 		}
+		expertTxt, _ := services.GetReportContentTextSub(v.Expert)
+		list[k].Expert = expertTxt
 	}
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	resp := new(models.GetCygxActivityListRep)
@@ -453,6 +455,8 @@ func (this *ActivityCoAntroller) ScheduleList() {
 				list[k].ImgUrl = mapAddress["其它"]
 			}
 		}
+		expertTxt, _ := services.GetReportContentTextSub(v.Expert)
+		list[k].Expert = expertTxt
 	}
 	//添加我的日程访问记录
 	item := new(models.CygxPageHistoryRecord)
@@ -2345,7 +2349,8 @@ func (this *ActivityCoAntroller) ActivityListNew() {
 				list[k].ImgUrl = mapAddress["其它"]
 			}
 		}
-		//list[k].ImgUrl = "https://hongze.oss-cn-shanghai.aliyuncs.com/static/images/202111/20211104/QbTGTNhD9MxYp24cJ7V5WpCN0oNl.png"
+		expertTxt, _ := services.GetReportContentTextSub(v.Expert)
+		list[k].Expert = expertTxt
 	}
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	resp := new(models.GetCygxActivityListRep)