|
@@ -1284,7 +1284,7 @@ func (this *ReportController) Detail() {
|
|
|
existMap := make(map[int]int)
|
|
|
var items []*models.ReportSelectionChartPermission
|
|
|
listLog, err := models.GetReportSelectionlogListAll(articleId)
|
|
|
-
|
|
|
+ detail.VideoPlaySeconds = utils.Mp3Time(detail.VideoPlaySeconds)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|
|
|
br.ErrMsg = "获取子类信息失败,Err:" + err.Error()
|
|
@@ -1383,6 +1383,7 @@ func (this *ReportController) ResearchDetail() {
|
|
|
return
|
|
|
}
|
|
|
detail.PublishDate = utils.StrTimeToTime(detail.PublishDate).Format("2006-01-02")
|
|
|
+ detail.VideoPlaySeconds = utils.Mp3Time(detail.VideoPlaySeconds)
|
|
|
listFirst, err := models.GetResearchSummarylogListFirst(articleId)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|
|
@@ -1495,6 +1496,7 @@ func (this *ReportController) MinutesDetail() {
|
|
|
return
|
|
|
}
|
|
|
detail.PublishDate = utils.StrTimeToTime(detail.PublishDate).Format("2006-01-02")
|
|
|
+ detail.VideoPlaySeconds = utils.Mp3Time(detail.VideoPlaySeconds)
|
|
|
listLog, err := models.GetMinutesSummarylogListAll(articleId)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|
|
@@ -1582,6 +1584,7 @@ func (this *ReportController) RoadshowDetail() {
|
|
|
detail.Body = html.UnescapeString(detail.Body)
|
|
|
detail.Abstract, _ = services.GetReportContentTextSub(detail.Abstract)
|
|
|
detail.PublishDate = utils.StrTimeToTime(detail.PublishDate).Format("2006-01-02")
|
|
|
+ detail.VideoPlaySeconds = utils.Mp3Time(detail.VideoPlaySeconds)
|
|
|
if companyPermission == "" {
|
|
|
if applyCount > 0 {
|
|
|
hasPermission = 5
|