Commit 6c74420e authored by hujiebin's avatar hujiebin

Update group_info.go

parent 8ada6539
......@@ -751,6 +751,8 @@ type GroupBanner struct {
BannerUrl string `json:"bannerUrl"`
//群主Id
GroupId string `json:"groupId"`
//统跳地址 http开头:web页面,query参数direction(0:竖屏 1:横屏); hilo开头:原生页面
ActionUrl string `json:"actionUrl"`
}
// @Tags 群组
......@@ -832,6 +834,7 @@ func GroupBannerList(c *gin.Context) (*mycontext.MyContext, error) {
H5Url: v.Url,
BannerUrl: v.Image,
GroupId: groupMap[v.GroupCode],
ActionUrl: v.Url,
})
}
resp.ResponseOk(c, groupBanners)
......@@ -841,6 +844,7 @@ func GroupBannerList(c *gin.Context) (*mycontext.MyContext, error) {
type RoomBanner struct {
H5Url string `json:"h5Url"` // h5链接
BannerUrl string `json:"bannerUrl"` // 图片地址
ActionUrl string `json:"actionUrl"` // 统跳地址 http开头:web页面,query参数direction(0:竖屏 1:横屏); hilo开头:原生页面
}
// @Tags 群组
......@@ -893,6 +897,7 @@ func RoomBannerList(c *gin.Context) (*mycontext.MyContext, error) {
result = append(result, RoomBanner{
H5Url: i.Url,
BannerUrl: i.Image,
ActionUrl: i.Url,
})
}
resp.ResponseOk(c, result)
......
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