体育类招生政策
接口信息
| 项目 |
内容 |
| 接口名称 |
获取体育类招生政策信息 |
| 请求方法 |
POST |
| 接口路径 |
/api/v1/enrollment/sport-policy |
| 是否需要登录 |
否(登录且未传省份时自动补全用户省份) |
请求参数
| 参数名 |
类型 |
必填 |
说明 |
| year |
number |
否 |
年份,默认当前年份减1 |
| province |
string |
否 |
省份,如"江苏"、"北京"等;未传且登录时自动取用户省份 |
| sport_category |
string |
否 |
体育类别 |
| exam_type |
string |
否 |
考试类型 |
返回结构
{
"exam_standards": [
{
"item": "100米跑",
"method": "电子计时",
"score": "100分",
"male_standard": "11.3秒",
"female_standard": "12.8秒",
"school_name": "某体育学院"
}
],
"admission_rules": [
{
"title": "录取规则一",
"rule_desc": "具体规则内容..."
}
],
"application_guide": [
{
"date": "2024-03-01",
"content": "报名开始..."
}
],
"options": {
"exam_types": ["统考", "校考"],
"sport_categories": ["田径", "篮球", "足球"]
},
"exam_dates": [1, 5, 10]
}
返回字段说明
| 字段 |
类型 |
说明 |
| exam_standards |
array |
考试标准列表 |
| exam_standards[].item |
string |
考试项目 |
| exam_standards[].method |
string |
测试方法 |
| exam_standards[].score |
string |
分值 |
| exam_standards[].male_standard |
string |
男生标准 |
| exam_standards[].female_standard |
string |
女生标准 |
| exam_standards[].school_name |
string |
院校名称 |
| admission_rules |
array |
录取规则列表 |
| admission_rules[].title |
string |
规则标题 |
| admission_rules[].rule_desc |
string |
规则描述 |
| application_guide |
array |
报考指南时间线 |
| application_guide[].date |
string |
日期/节点标题 |
| application_guide[].content |
string |
内容说明 |
| options.exam_types |
string[] |
考试类型下拉选项 |
| options.sport_categories |
string[] |
体育类别下拉选项 |
| exam_dates |
number[] |
考试时间数组(去重排序) |
调用示例
curl -X POST http://localhost:3666/api/v1/enrollment/sport-policy \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}" \
-d '{
"year": 2024,
"province": "江苏",
"sport_category": "田径",
"exam_type": "统考"
}'
注意事项
- 未传
province 且用户已登录时,自动查询用户省份进行补全
- 考试标准支持按
sport_category 和 exam_type 筛选