展会落地页列表
HTTP Request
GET /api/admin/exhibition_landings
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|---|---|
query | 否 | 查询 |
exhibition_id | 否 | 展会id |
publish_status | 否 | 上架状态(未上架: 0, 已上架: 1) |
page | 否 | 页码 |
per_page | 否 | 每页的数量 |
返回数据
{
"code": 0,
"message": "success",
"remark": "成功",
"data": {
"total_count": 1,
"total_pages": 1,
"next_page": null,
"prev_page": null,
"current_page": 1,
"per_page": 15,
"page": 1,
"models": [
{
"id": 5,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png", // 首图
"mobile_head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png", // 移动端首图
"number": 1, // 已报名人数
"end_at": "2025-01-01T12:00:00.000+08:00", // 活动截止时间
"text": "xxxxxx", //报名文案
"crm_custom_form_id": 96, // crm自定义应用id
"exhibition_id": 3, //展会id
"default": true, // 是否默认落地页
"custom_groups": [ // 自定义模块
{
"name": "xxxx",
"content": "yyyyyy"
}
],
"exhibition": { // 展会信息
"id": 3,
"name": "2019中国国际消费电子博览会"
},
"published_at": null, // 发布时间
"creator": { // 创建人
"id": 1,
"name": admin
},
"crm_custom_form": { // crm自定义应用信息
"value": 96,
"label": "department",
"id": 96,
"name": "department",
"status": "enable",
"status_i18n": "启用"
}
}
]
}
}
创建展会落地页
HTTP Request
POST /api/admin/exhibition_landings
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|
Body Parameters
字段名 | 是否必填 | 描述 |
---|---|---|
landing | 是 | 落地页 |
请求正文
{
"landing": {
"exhibition_id": 1,
"crm_custom_form_id": 96,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"mobile_head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"default": true,
"end_at": "2025-01-01 12:00:00",
"text": "xxxxxx",
"custom_groups": [
{"name": "xxxx", "content": "yyyyyy"}
]
}
}
返回数据
{
"code": 0,
"message": "success",
"remark": "成功",
"data": {
"id": 5,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"mobile_head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"end_at": "2025-01-01T12:00:00.000+08:00",
"text": "xxxxxx",
"exhibition_id": 3,
"default": true,
"crm_custom_form_id": 96,
"crm_custom_form_name": null,
"custom_groups": [
{
"name": "xxxx",
"content": "yyyyyy"
}
],
"published_at": null,
"exhibition": {
"id": 3,
"name": "2019中国国际消费电子博览会"
},
"creator": {
"id": 1,
"name": "展二"
},
"crm_custom_form": {
"value": 96,
"label": "department",
"id": 96,
"name": "department",
"status": "enable",
"status_i18n": "启用"
}
}
}
展会落地页详情
HTTP Request
GET /api/admin/exhibition_landings/:id
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|
返回数据
{
"code": 0,
"message": "success",
"remark": "成功",
"data": {
"id": 5,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"mobile_head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"end_at": "2025-01-01T12:00:00.000+08:00",
"text": "xxxxxx",
"exhibition_id": 3,
"crm_custom_form_id": 96,
"crm_custom_form_name": null,
"custom_groups": [
{
"name": "xxxx",
"content": "yyyyyy"
}
],
"published_at": null,
"exhibition": {
"id": 3,
"name": "2019中国国际消费电子博览会"
},
"creator": {
"id": 1,
"name": "展二"
},
"crm_custom_form": {
"value": 96,
"label": "department",
"id": 96,
"name": "department",
"status": "enable",
"status_i18n": "启用"
}
}
}
更新展会落地页
HTTP Request
PUT /api/admin/exhibition_landings/:id
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|
Body Parameters
字段名 | 是否必填 | 描述 |
---|---|---|
landing | 是 | 落地页 |
请求正文
{
"landing": {
"exhibition_id": 1,
"default": true,
"crm_custom_form_id": 96,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"mobile_head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"end_at": "2025-01-01 12:00:00",
"text": "xxxxxx",
"custom_groups": [
{"name": "xxxx", "content": "yyyyyy"}
]
}
}
返回数据
{
"code": 0,
"message": "success",
"remark": "成功",
"data": {
"id": 5,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"mobile_head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"end_at": "2025-01-01T12:00:00.000+08:00",
"text": "xxxxxx",
"exhibition_id": 3,
"default": true,
"crm_custom_form_id": 96,
"crm_custom_form_name": null,
"custom_groups": [
{
"name": "xxxx",
"content": "yyyyyy"
}
],
"published_at": null,
"exhibition": {
"id": 3,
"name": "2019中国国际消费电子博览会"
},
"creator": {
"id": 1,
"name": "展二"
},
"crm_custom_form": {
"value": 96,
"label": "department",
"id": 96,
"name": "department",
"status": "enable",
"status_i18n": "启用"
}
}
}
删除展会落地页
HTTP Request
DELETE /api/admin/exhibition_landings/:id
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|
Body Parameters
字段名 | 是否必填 | 描述 |
---|
请求正文
返回数据
{
"code": 0,
"message": "success",
"remark": "成功"
}
发布展会落地页
HTTP Request
PUT /api/admin/exhibition_landings/:id/up
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|
Body Parameters
字段名 | 是否必填 | 描述 |
---|
请求正文
返回数据
{
"code": 0,
"message": "success",
"remark": "成功",
"data": {
"id": 5,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"end_at": "2025-01-01T12:00:00.000+08:00",
"text": "xxxxxx",
"exhibition_id": 3,
"crm_custom_form_id": 96,
"crm_custom_form_name": null,
"custom_groups": [
{
"name": "xxxx",
"content": "yyyyyy"
}
],
"published_at": null,
"exhibition": {
"id": 3,
"name": "2019中国国际消费电子博览会"
},
"creator": {
"id": 1,
"name": "展二"
},
"crm_custom_form": {
"value": 96,
"label": "department",
"id": 96,
"name": "department",
"status": "enable",
"status_i18n": "启用"
}
}
}
取消发布展会落地页
HTTP Request
PUT /api/admin/exhibition_landings/:id/down
HEADERS
字段名 | 是否必填 | 描述 |
---|---|---|
ACCESS-TOKEN | true | 授权token(aPaas提供) |
URL Parameters
字段名 | 必填 | 描述 |
---|
Body Parameters
字段名 | 是否必填 | 描述 |
---|
请求正文
返回数据
{
"code": 0,
"message": "success",
"remark": "成功",
"data": {
"id": 5,
"head": "https://ikcrm-files-dev.ikcrm.com/exhibition/attachments/files/395/1111.png",
"number": 1,
"end_at": "2025-01-01T12:00:00.000+08:00",
"text": "xxxxxx",
"exhibition_id": 3,
"crm_custom_form_id": 96,
"crm_custom_form_name": null,
"custom_groups": [
{
"name": "xxxx",
"content": "yyyyyy"
}
],
"published_at": null,
"exhibition": {
"id": 3,
"name": "2019中国国际消费电子博览会"
},
"creator": {
"id": 1,
"name": "展二"
},
"crm_custom_form": {
"value": 96,
"label": "department",
"id": 96,
"name": "department",
"status": "enable",
"status_i18n": "启用"
}
}
}
文档更新时间: 2025-04-09 17:20 作者:李辉