diff --git a/cv/group_cv/group.go b/cv/group_cv/group.go index 54e20f272e5b57e189e1d4e8641ea50a98d771f0..832e3107d2a05eb7287e2bd4d8361c35e36bf7a4 100644 --- a/cv/group_cv/group.go +++ b/cv/group_cv/group.go @@ -154,6 +154,7 @@ type SimpleRoleInfo struct { type BannerElement struct { H5Url string `json:"h5Url"` // h5链接 BannerUrl string `json:"bannerUrl"` // 图片地址 + ActionUrl string `json:"actionUrl"` // 统跳地址 } type RoomInfo struct { diff --git a/route/group_r/group_info.go b/route/group_r/group_info.go index 32e8803d0d65f292269d6cd719cedfe80bcc1c31..b5e392cbe21cbfd9c6a82562ac1c0d26567c5152 100644 --- a/route/group_r/group_info.go +++ b/route/group_r/group_info.go @@ -593,6 +593,7 @@ func GetRoomInfo(c *gin.Context) (*mycontext.MyContext, error) { result.Banners = append(result.Banners, group_cv.BannerElement{ H5Url: i.Url, BannerUrl: i.Image, + ActionUrl: i.Image, // 支持direction=1横屏 }) } } else {