创建比赛
POST
http://t1.vdarts.tw/MemberAPI/league4Match.php
请求参数
application/x-www-form-urlencoded参数名
类型
描述
必填
requesttype
string
add_match(值)
必填
name
string
比赛名称
必填
match_detail
json(json字符串)
比赛参数
必填
start_time
datetime
开赛时间
必填
apply_deadline
datetime
报名截止时间
必填
target_type
string
靶类型 soft(软靶) hard(硬靶)
必填
password
string
报名密码
可选
player_mode
int
人数模式
必填
application_fee
int
报名费用
必填
match_id
int
比赛id(传了这个参数就是修改不传就是添加)
可选
is_game
int
举办方是否参加比赛 1(参加) 2(不参加)
必填
device_type
string
面板类型 com(商用) home(家用) mix(混合)
必填
rounds_time
int
定制每一轮比赛开始时间(详细看示例说明)
可选
rule
int
赛制 1(1局一胜) 3(3局两胜) 5(5局三胜) 7(7局4胜)
可选
rounds_end_time
int
定制每一轮的比赛结束时长,不能小于10分钟 (秒数为单位)
可选
is_sending_creating
boolean
是否群发参赛者好友 true(是) false(否)
可选
响应参数
参数名
类型
描述
必填
code
int
0(成功) -1(失败)
必填
msg
string
详情
必填
data
array
返回的数据
必填