创建房间
POST
/api/pk/create/room
请求头
参数名
类型
描述
必填
token
string
用户token
必填
请求参数
参数名
类型
描述
必填
pk_type
string
PK类型 0:2人1 v 1 1:多人组队PK
必填
pk_result_type
string
结果判定方式 0:按时间,固定距离,用时短方胜 1:按圈数 固定时间,圈数多方胜
必填
matchs_event_type_id
string
pk_result_type 为 0 时必填 赛事项目类型ID “ 赛事-》项目类型列表 ” 接口 match_event_id 参数
必填
time_long
int
pk_result_type 为 1 时必填 运动分钟数,min
必填
pk_max_person
int
pk_type 为 1 时必填 单方 最多人数,系统限制最多 30人,
必填
group_red_title
string
pk_type 为1时必填 设置我方队名
必填
group_blue_title
string
pk_type 为1时必填 设置敌方队名
必填
pk_room_number
string
房间号
必填
响应参数
参数名
类型
描述
必填
code
int
响应状态值
必填
msg
string
响应信息
必填
data
Object
响应数据
必填