Quellcode durchsuchen

fix: 报告列表音频时长

hsun vor 2 Jahren
Ursprung
Commit
5e2d784470
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      models/tables/rddp/report/query.go

+ 1 - 1
models/tables/rddp/report/query.go

@@ -222,7 +222,7 @@ func GetListCountByClassifyIdSecond(classifyIdSecond int) (total int64, err erro
 // GetReportList 获取报告列表
 func GetReportList(condition string, pars []interface{}, offset , limit int) (list []*Report, err error) {
 	err = global.MYSQL["rddp"].Model(Report{}).
-		Select("id, classify_id_first, classify_name_first, classify_id_second, classify_name_second, title, stage, publish_time, author, create_time, video_url, abstract").
+		Select("id, classify_id_first, classify_name_first, classify_id_second, classify_name_second, title, stage, publish_time, author, create_time, video_url, video_name, video_play_seconds, abstract").
 		Where(condition, pars...).
 		Order("publish_time desc, id desc").
 		Offset(offset).