|
@@ -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).
|