文档
测试

创建比赛

POST
http://basketball.zhangsizhen.cn/interfaces/match/addmatch

请求参数

参数名
类型
描述
必填
name
string
示例:比赛名称
必填
crews_one
string
示例:队伍1
必填
crews_two
string
示例:队伍2
必填
single_time
int
示例:单节时间
必填
midfield_time
int
示例:中场休息时间
必填
section_time
int
示例:小节休息时间
必填
stop_time
int
示例:暂停时间
必填
type
int
示例:0:4节 1:上下半场 2:单节
必填

响应参数

参数名
类型
描述
必填
message
string
示例:success
必填
code
int
示例:200
必填
info
object
数据字典
必填
crews_one
string
示例:队伍1
必填
crews_two
string
示例:队伍2
必填
single_time
string
示例:单节时间
必填
section_time
string
示例:小节休息时间
必填
midfield_time
string
示例:中场休息时间
必填
stop_time
string
示例:暂停时间
必填
name
string
示例:比赛名称
必填
type
string
示例:0:4节 1:上下半场 2:单节
必填
in_time
int
示例:开始时间
必填
id
string
示例:比赛id
必填