|
@@ -891,6 +891,42 @@ func (this *UserController) ApplyTryOut() {
|
|
|
return
|
|
|
}
|
|
|
title = microVideo.VideoName
|
|
|
+ } else if tryType == "Researchsummary" {
|
|
|
+ // 本周研究汇总
|
|
|
+ ResearchSummaryInfo, e := models.GetCygxResearchSummaryInfoById(detailId)
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "操作失败"
|
|
|
+ br.ErrMsg = "本周研究汇总信息有误, 不存在的detailId: " + strconv.Itoa(detailId)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ title = ResearchSummaryInfo.Title
|
|
|
+ } else if tryType == "Minutessummary" {
|
|
|
+ // 上周纪要汇总
|
|
|
+ MinutesSummaryInfo, e := models.GetCygxMinutesSummaryInfoById(detailId)
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "操作失败"
|
|
|
+ br.ErrMsg = "上周纪要汇总信息有误, 不存在的detailId: " + strconv.Itoa(detailId)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ title = MinutesSummaryInfo.Title
|
|
|
+ } else if tryType == "ReportSelection" {
|
|
|
+ // 报告精选
|
|
|
+ ReportSelectionInfo, e := models.GetCygxReportSelectionInfoById(detailId)
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "操作失败"
|
|
|
+ br.ErrMsg = "报告精选信息有误, 不存在的detailId: " + strconv.Itoa(detailId)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ title = ReportSelectionInfo.Title
|
|
|
+ } else if tryType == "ProductInterior" {
|
|
|
+ // 产品内测
|
|
|
+ ProductInteriorDetail, e := models.GetCygxProductInteriorDetail(detailId)
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "操作失败"
|
|
|
+ br.ErrMsg = "产品内测信息有误, 不存在的detailId: " + strconv.Itoa(detailId)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ title = ProductInteriorDetail.Title
|
|
|
}
|
|
|
|
|
|
fmt.Println(title)
|