简要描述:
获取聚推联盟活动列表
请求域名:
- http://xx.com
请求URL:
GET/plugin.decorate.admin.decorate-common.get-union-cps-activity
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 分页 |
search{ | 否 | object | 搜索对象 |
keyword | 否 | string | 搜索关键词 |
platform_id | 否 | string | 平台标识 |
status | 否 | int | 活动状态 0 关闭 1开启 |
} |
返回示例:
正确时返回:
{
"current_page": 1,
"data": [
{
"activity_id": "123",
"name": "test3.0",
"pic": "https://supply.yunzmall.com/uploads/file/9e4e28b83303c29be272c1c2af1aabb0_20230316094723.jpeg",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "12321",
"name": "测试活动3.16",
"pic": "https://supply.yunzmall.com/uploads/file/e3af1609d6d8e49c70aaa7eebd90df0f_20230316093231.gif",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "8317",
"name": "滴滴货运CPA推广",
"pic": "https://yunxingongyinglian.oss-cn-guangzhou.aliyuncs.com/2023316/1678931921690390.jpg",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "20863",
"name": "滴滴租车分销活动",
"pic": "https://supply.yunzmall.com/uploads/file/49d111d40cbb8828edbb688f1e2a3b81_20230315161658.jpg",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "207059212323",
"name": "网约车CPS活动",
"pic": "https://yunxingongyinglian.oss-cn-guangzhou.aliyuncs.com/2023316/1678930481出行推广物料690x390.png",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "206888136013",
"name": "滴滴有车丨车主好选择",
"pic": "https://yunxingongyinglian.oss-cn-guangzhou.aliyuncs.com/2023316/1678931256690-390.png",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "207811824611",
"name": "网约车CPA+CPS活动",
"pic": "https://yunxingongyinglian.oss-cn-guangzhou.aliyuncs.com/2023316/1678930375出行推广物料690x390.png",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "208743698546",
"name": "花小猪CPS+CPA推广",
"pic": "https://yunxingongyinglian.oss-cn-guangzhou.aliyuncs.com/2023316/1678930213花小猪-推广物料690x390.jpg",
"platform": "didi",
"platform_name": "滴滴"
},
{
"activity_id": "7563",
"name": "滴滴",
"pic": "https://supply.yunzmall.com/uploads/file/85417904439aa03d2958aabc0b698e8f_20230509175604.png",
"platform": "didi",
"platform_name": "滴滴"
}
],
"first_page_url": "https://dev15.yunzmall.com/admin/shop?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://dev15.yunzmall.com/admin/shop?page=1",
"next_page_url": null,
"path": "https://dev15.yunzmall.com/admin/shop",
"per_page": 10,
"prev_page_url": null,
"to": 9,
"total": 9,
"platform": {
"meituan": "美团",
"didi": "滴滴",
"eleme": "饿了么"
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
total | int | 数据总条数 |
per_page | int | 每页显示多少条数据 |
current_page | int | 当前页 |
platform | object | 平台的key-value数组,搜索时传key |
data参数说明:
参数名 | 类型 | 说明 |
---|---|---|
activity_id | int | 活动id,取链时使用 |
name | string | 活动名称 |
pic | string | 活动图片 |
platform_name | string | 平台名称 |
status | int | 状态 |
status_name | string | 状态名称 |
备注:
- 更多返回错误代码请看首页的错误代码描述