Appearance
功能概述
相关活动列表展示模块
接口访问
接口地址
activity/list
请求方式 Method
GET
请求参数
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 | 访问版本 |
|---|---|---|---|---|---|---|
| activeState | string | 32 | false | 活动状态 0.未开始 1.报名中 2.截止报名待开始 3.已结束 -1. 已取消 | - | |
| keyword | string | 32 | false | 关键字 | - | |
| page | string | 32 | false | 页码 | - |
返回值
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | integer | true | 活动ID |
| title | string | true | 活动标题 |
| description | string | true | 活动描述 |
| imageUrl | string | true | 活动图片地址 |
| eventAddress | string | true | 活动场所 |
| navigationAddress | string | true | 导航地址 |
| longitude | string | true | 经度 |
| latitude | integer | true | 纬度 |
| contactNumber | string | true | 联系电话 |
| signUpNumber | string | true | 报名人数 |
| activeState | integer | true | 活动状态 0.未开始 1.报名中 2.截止报名待开始 3.已结束 -1. 已取消 |
| activityTimeType | integer | true | 活动时间类型 1.准确时间 2.描述时间 |
| activityTimeDescription | integer | true | 活动时间描述,当activity_time_type = 2时,该字段有效 |
| activityTime | integer | true | 活动时间,当activity_time_type = 1时,该字段有效 |
| registrationStartDeadline | string | true | 报名开始时间 |
| registrationEndDeadline | string | true | 报名结束时间 |
| createTime | string | true | 创建时间 |
返回示例
{
"response": [
{
"id": 2,
"title": "测试活动内容",
"description": "活动内容2王五",
"imageUrl": "",
"eventAddress": "",
"navigationAddress": "",
"longitude": "",
"latitude": "",
"contactNumber": "",
"signUpNumber": 0,
"activeState": 1,
"activityTimeType": 2,
"activityTimeDescription": "三天连夜服务",
"activityTime": null,
"registrationStartDeadline": null,
"registrationEndDeadline": null,
"createTime": "2024-12-16 19:05:48"
},
{
"id": 1,
"title": "测试活动1张三",
"description": "活动内容",
"imageUrl": "",
"eventAddress": "",
"navigationAddress": "",
"longitude": "",
"latitude": "",
"contactNumber": "",
"signUpNumber": 0,
"activeState": 1,
"activityTimeType": 1,
"activityTimeDescription": "",
"activityTime": "2025-01-01 09:24:12",
"registrationStartDeadline": null,
"registrationEndDeadline": null,
"createTime": "2024-12-16 19:05:45"
}
],
"requestId": "4a37de47-865c-4f9c-b8df-6cb7b81554ef"
}