## 获取班级活动列表
**简要描述:**
* 获取班级活动列表
**请求URL:**
* /activity/findClassesPage
**请求方式:**
* POST
**请求参数:**
| 参数名 | 必选 | 类型 | 说明 |
| --- | --- | --- | --- |
| school_id| 是 | number | 学校id |
| classes_id| 是 | number | 班级id |
| current_page| 否 | number | 当前页 |
| per_page | 否 | number | 分页查询每页数量 默认 10 |
**返回参数**
| 参数名 | 必选 | 类型 | 说明 |
| --- | --- | --- | --- |
| id| 是 | init| id |
| school_id| 是 | init| 学校id |
| classes_id| 是| init| 班级id |
| activity_id| 是 | init| 活动id |
| current_page| 否 | number | 当前页 |
| per_page | 否 | number | 分页查询每页数量 默认 10 |
| last_page| 否 | number | 总页数 |
| total | 否 | number | 总数量|
| title| 是 |string | 标题 |
| type| 是 |string | 1投票、2报名|
| content|是 | string | 内容|
| position|否 | string | 活动位置|
| start_time| 是 |string | 活动、投票开始|
| end_time|是 | string | 活动、投票结束|
| sign_start_time| 报名是,投票否 |string | 报名开始|
| sign_end_time|报名是,投票否 | string | 报名结束|
| options|报名否,投票是 | string | 投票选项|
| max_option|报名否,投票是 | number| 选项类型,1,2,3,4,代表最多选择几项|
| activity_status| 是 | init| 活动状态|
| vote_id| 否 | init| 投票记录id |
| activity_add_time| 是 | string | 活动创建时间 |
**返回示例**
```
{
"msg": "success",
"data": {
"total": 2,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 3,
"title": "五一活动",
"type": null,
"start_time": 1568003657,
"end_time": 1568003661,
"classes_id": 29,
"school_id": 29,
"sort": null,
"add_time": 1585476385,
"position": null,
"content": null,
"sign_start_time": null,
"sign_end_time": null,
"max_option": null,
"options": [
{
"id": 1,
"name": "张三",
"classes_id": 29,
"school_id": 29,
"code": "A",
"activity_id": 3
},
{
"id": 2,
"name": "李四",
"classes_id": 29,
"school_id": 29,
"code": "B",
"activity_id": 3
}
]
},
{
"id": 4,
"title": null,
"type": null,
"start_time": null,
"end_time": null,
"classes_id": 29,
"school_id": 29,
"sort": null,
"add_time": 1585731811,
"position": null,
"content": null,
"sign_start_time": null,
"sign_end_time": null,
"max_option": null,
"options": []
}
]
},
"code": 200
}
```