Commit 8f755d6e authored by hujiebin's avatar hujiebin

1

parent 6f1c0fb2
......@@ -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 {
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment