|
@@ -191,6 +191,7 @@ type ActivityDetail struct {
|
|
|
VisibleRange int `description:"可见范围 1,仅本组可见 、2,全部客户可见"`
|
|
|
VideoDetail *CygxActivityVideoListResp `description:"视频数据"`
|
|
|
FileType int `description:"类型: 1-音频; 2-视频"`
|
|
|
+ IsCollect bool `description:"是否收藏"`
|
|
|
}
|
|
|
|
|
|
type CygxActivityResp struct {
|
|
@@ -621,7 +622,7 @@ type CygxActivityLabelList struct {
|
|
|
Resource int `description:"位置 ,1:活动 ,2:专项产业调研"`
|
|
|
TemporaryLabel string `description:"临时标签"`
|
|
|
IsNew bool `description:"是否为新:活动存在关联的的产业所关联的报告均在3个月内/无报告则标记新"`
|
|
|
- YidongActivityId int `description:"易董活动ID"`
|
|
|
+ YidongActivityId int `description:"易董活动ID"`
|
|
|
IsExternalLabel bool `description:"是否为外部资源"`
|
|
|
}
|
|
|
|
|
@@ -926,7 +927,7 @@ func GetActivityListNew(condition string, pars []interface{}, uid, startSize, pa
|
|
|
}
|
|
|
if filter == 1 {
|
|
|
sqlJiontable = ` INNER JOIN cygx_activity_video AS av ON av.activity_id = art.activity_id `
|
|
|
- } else if filter == 2{
|
|
|
+ } else if filter == 2 {
|
|
|
sqlJiontable = ` INNER JOIN cygx_activity_voice AS ac ON ac.activity_id = art.activity_id `
|
|
|
}
|
|
|
|
|
@@ -945,4 +946,4 @@ func GetActivityListNew(condition string, pars []interface{}, uid, startSize, pa
|
|
|
sql += ` LIMIT ?,?`
|
|
|
_, err = o.Raw(sql, pars, uid, uid, uid, startSize, pageSize).QueryRows(&items)
|
|
|
return
|
|
|
-}
|
|
|
+}
|