文档
测试

打开房间直播

POST
/api/openRoomLive

请求参数

参数名
类型
描述
必填
title
string
房间标题
必填
type
string
房间类型,entertainment娱乐,friend交友,music音乐,emotion情感,chat闲聊,new萌新,game游戏,auction拍卖,iyato相亲
必填
blindDateMode
int
相亲房间模式,1男神场,0女神场
可选
sweetValueLimit
int
甜蜜值,婚恋房和相亲房都是用这个字段
可选
singerCount
int
唱歌房唱歌人数
可选
singerType
string
唱歌房歌手类型 1才艺歌手, 2声秘歌手
可选
singVoteAble
string
唱歌房是否开启比赛投票, 1是 0否
可选
bedMode
string
床铺模式,1:大通铺模式,2:CP床铺模式,0和其他值表示未开启
可选
code
string
进房码,填写了后,hidden会自动改为1
可选

响应参数

参数名
类型
描述
必填
code
int
错误码,0正确,小于0表示有错误
必填
msg
string
错误信息
可选
roomid
int
房间ID
必填