pull/232/head
wangchuxiao 2 years ago
parent 805b7705b2
commit f31179bb9a

@ -47,6 +47,7 @@ func GetRTCInvitationInfo(c *gin.Context) {
resp.Data.Invitation.InviteeUserIDList = invitationInfo.Invitation.InviteeUserIDList resp.Data.Invitation.InviteeUserIDList = invitationInfo.Invitation.InviteeUserIDList
resp.Data.Invitation.MediaType = invitationInfo.Invitation.MediaType resp.Data.Invitation.MediaType = invitationInfo.Invitation.MediaType
resp.Data.Invitation.Timeout = invitationInfo.Invitation.Timeout resp.Data.Invitation.Timeout = invitationInfo.Invitation.Timeout
resp.Data.Invitation.InitiateTime = invitationInfo.Invitation.InitiateTime
c.JSON(http.StatusOK, resp) c.JSON(http.StatusOK, resp)
} }
@ -85,6 +86,7 @@ func GetRTCInvitationInfoStartApp(c *gin.Context) {
resp.Data.Invitation.InviteeUserIDList = invitationInfo.Invitation.InviteeUserIDList resp.Data.Invitation.InviteeUserIDList = invitationInfo.Invitation.InviteeUserIDList
resp.Data.Invitation.MediaType = invitationInfo.Invitation.MediaType resp.Data.Invitation.MediaType = invitationInfo.Invitation.MediaType
resp.Data.Invitation.Timeout = invitationInfo.Invitation.Timeout resp.Data.Invitation.Timeout = invitationInfo.Invitation.Timeout
resp.Data.Invitation.InitiateTime = invitationInfo.Invitation.InitiateTime
c.JSON(http.StatusOK, resp) c.JSON(http.StatusOK, resp)
} }

@ -75,6 +75,7 @@ type GetRTCInvitationInfoResp struct {
Timeout int32 `json:"timeout"` Timeout int32 `json:"timeout"`
MediaType string `json:"mediaType"` MediaType string `json:"mediaType"`
SessionType int32 `json:"sessionType"` SessionType int32 `json:"sessionType"`
InitiateTime int32 `json:"initiateTime"`
} `json:"invitation"` } `json:"invitation"`
OfflinePushInfo struct{} `json:"offlinePushInfo"` OfflinePushInfo struct{} `json:"offlinePushInfo"`
} `json:"data"` } `json:"data"`

Loading…
Cancel
Save