文档
测试

赛事详情

POST
/api/match/info

请求头

参数名
类型
描述
必填
token
string
用户token
必填
language
string
zh-CN
必填

请求参数

参数名
类型
描述
必填
sys_match_id
string
赛事下的比赛项目ID
必填

响应参数

参数名
类型
描述
必填
code
int
响应状态值
必填
msg
string
响应信息
必填
data
Object
响应数据
必填
sys_sys_match_id
string
赛事ID
必填
sys_match_id
string
赛事下 项目ID
必填
match_title
string
赛事标题
必填
match_status
int
赛事状态 1:未开始,2:进行中,3:已结束
必填
match_status_title
string
赛事状态
必填
user_join_status
int
用户是否加入赛事
必填
is_join
int
是否已加入,0:未加入,1:已加入
必填
user_group_id
string
加入团队ID
必填
group_title
string
团队名
必填
group_num
string
团队编号
必填
match_join_pass
int
是否可以报名 0:不允许,1:允许
必填
is_group
int
是否要求团队报名 0:否 1:是,
必填
match_image
string
详情顶部图
必填
form_array
Object-Array
表单数据
必填
label
string
标题
必填
value
string
必填
icon
string
图标
必填
is_html
int
是否为html 0:否,1:是
必填
stage
Object-Array
赛段信息
必填
matchs_stage_id
string
赛段ID
必填
match_stage_title
string
赛段标题
必填
match_stage_start_time
string
赛段开始时间,时间戳
必填
match_stage_stop_time
string
赛段结束时间,时间戳
必填
max_integral
int
最大积分,第一名获得的积分
必填
sub_integral
int
按名次递减积分
必填
get_integral_type
int
获取积分人数类型,0:指定人数,1:按参赛人数/队伍数比例
必填
get_integral_value
int
能够获得积分的人群值,0:人/队,1:百分比
必填
match_promotion_type
int
赛段晋级类型 0:指定晋级人数,1:按参与人数晋级
必填
match_promotion_value
float
赛段晋级值,人数,百分比
必填
sys_sys_match_id
string
赛事ID
必填
match_stage_distance
float
赛段运动距离,单位 米
必填
view_type
int
前端UI界面,1:标准赛事,2:摇跑
必填
this_stage
int
当前时间所属赛段,高亮显示,0:否,1:是
必填
start_time
string
开始时间
必填
stop_time
string
结束时间
必填
matchs_stage_status
int
赛段状态,1:未开始,2:进行中,3:已结束
必填
match_stage_promotion_rule
string
晋级规则
必填
is_exponent
是否展示指数 1:是 0:否
必填
matchs_stage_id
string
当前赛段ID
必填
is_exponent
int
是否展示指数 1:是 0:否
必填
view_type
int
运动UI页面,0:不存在,1:标准锦标赛,2:摇跑赛
必填
join_status
int
赛事报名条件 0:开放报名,1:关闭报名,2:允许会员报名
必填

说明 / 示例

请求示例: ```json { "sys_match_id": "46093147616317440" } ``` 返回示例: ```json { "code": 1, "msg": "success", "data": { "sys_sys_match_id": "48988132351152128", "sys_match_id": "48994755022950400", "match_title": "大学生长征挑战赛", "match_status": 2, "match_status_title": "比赛中", "user_join_status": { "is_join": 1, "user_group_id": "46395357487173632", "group_title": "麦凯莱王珂队", "group_num": "222222" }, "match_join_pass": 0, "is_group": 1, "match_image": "http://10.20.73.103:89/matchs_image/2021/05/2021-05-20/competition.png", "form_array": [ { "label": "比赛时间", "value": "2021.05.19 20:47 - 2021.05.27 10:05", "icon": "http://10.20.73.103:89/matchs_image/matchs_sources/time.png", "is_html": 0 }, { "label": "已报名", "value": 37, "icon": "http://10.20.73.103:89/matchs_image/matchs_sources/join.png", "is_html": 0 }, { "label": "报名要求", "value": "团队参赛", "icon": "http://10.20.73.103:89/matchs_image/matchs_sources/require.png", "is_html": 0 }, { "label": "赛事说明", "value": "<p>88</p>", "icon": "http://10.20.73.103:89/matchs_image/matchs_sources/info.png", "is_html": 1 }, { "label": "联系方式", "value": "13545220341", "icon": "http://10.20.73.103:89/matchs_image/matchs_sources/phone.png", "is_html": 0 }, { "label": "联系邮箱", "value": "pengjl@megacombine.com", "icon": "http://10.20.73.103:89/matchs_image/matchs_sources/email.png", "is_html": 0 } ], "matchs_stage_id": "49000214572306432", "view_type": 1, "is_exponent": 0 "stage": [ { "matchs_stage_id": "49000214572306432", "match_stage_title": "第一赛段", "match_stage_start_time": "1621395920", "match_stage_stop_time": "1621908324", "max_integral": 1000, "sub_integral": 100, "get_integral_type": 0, "get_integral_value": 10, "match_promotion_type": 0, "match_promotion_value": 8, "sys_sys_match_id": "48988132351152128", "match_stage_distance": 2000, "view_type": 1, "matchs_stage_status": 2, "this_stage": 1, "start_time": "2021-05-19 11:45", "stop_time": "2021-05-25 10:05", "match_stage_promotion_rule": "前 8 人 晋级", "is_exponent": 0 }, { "matchs_stage_id": "49003423315529728", "match_stage_title": "第2赛段", "match_stage_start_time": "1621908324", "match_stage_stop_time": "1622081124", "max_integral": 8000, "sub_integral": 1000, "get_integral_type": 0, "get_integral_value": 8, "match_promotion_type": 0, "match_promotion_value": 1, "sys_sys_match_id": "48988132351152128", "match_stage_distance": 2000, "view_type": 2, "matchs_stage_status": 1, "this_stage": 0, "start_time": "2021-05-25 10:05", "stop_time": "2021-05-27 10:05", "match_stage_promotion_rule": "前 1 人 晋级", "is_exponent": 0 } ] } } ```