From 8f755d6ee251c37842f1be8841c6c265de5b6b02 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Wed, 17 May 2023 17:58:57 +0800 Subject: [PATCH] 1 --- cv/group_cv/group.go | 1 + route/group_r/group_info.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cv/group_cv/group.go b/cv/group_cv/group.go index 54e20f2..832e310 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 32e8803..b5e392c 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 { -- 2.22.0