简要描述:
- 获取新海报列表
请求URL:
plugin.decorate.admin.decorate-common.get-new-poster-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
type | 是 | int | H5商城海报(5) 微信小程序海报(2) |
title | 否 | string | 海报标题 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"list": {
"current_page": 1,
"data": [
{
"id": 25,
"title": "海报",
"type": 2,
"keyword": "",
"status": 0,
"center_show": [
""
],
"poster_type": 15,
"created_at": "2021-09-17 16:18:24",
"award_count": 0,
"scan_count": 0
},
{
"id": 24,
"title": "不上传",
"type": 2,
"keyword": "",
"status": 0,
"center_show": [
"2"
],
"poster_type": 2,
"created_at": "2021-08-23 15:27:48",
"award_count": 0,
"scan_count": 0
},
{
"id": 23,
"title": "c二十",
"type": 2,
"keyword": "",
"status": 1,
"center_show": [
""
],
"poster_type": 15,
"created_at": "2021-08-21 13:18:29",
"award_count": 0,
"scan_count": 0
},
{
"id": 22,
"title": "测试",
"type": 2,
"keyword": "测试",
"status": 0,
"center_show": [
"5",
"1"
],
"poster_type": 1,
"created_at": "2021-08-05 15:15:14",
"award_count": 0,
"scan_count": 3
},
{
"id": 21,
"title": "测试别说话",
"type": 2,
"keyword": "",
"status": 1,
"center_show": [
""
],
"poster_type": 20,
"created_at": "2021-08-04 17:35:46",
"award_count": 0,
"scan_count": 0
},
{
"id": 20,
"title": "",
"type": 2,
"keyword": "",
"status": 0,
"center_show": [
""
],
"poster_type": 20,
"created_at": "2021-08-04 17:35:28",
"award_count": 0,
"scan_count": 0
},
{
"id": 19,
"title": "8/4测试活动",
"type": 2,
"keyword": "",
"status": 1,
"center_show": [
""
],
"poster_type": 17,
"created_at": "2021-08-04 11:03:33",
"award_count": 0,
"scan_count": 0
},
{
"id": 18,
"title": "测试",
"type": 2,
"keyword": "",
"status": 0,
"center_show": [
"0"
],
"poster_type": 17,
"created_at": "2021-07-30 11:11:46",
"award_count": 0,
"scan_count": 0
},
{
"id": 17,
"title": "123",
"type": 2,
"keyword": "",
"status": 0,
"center_show": [
""
],
"poster_type": 20,
"created_at": "2021-07-22 16:27:22",
"award_count": 0,
"scan_count": 0
},
{
"id": 16,
"title": "爱心值海报呀",
"type": 2,
"keyword": "",
"status": 0,
"center_show": [
""
],
"poster_type": 20,
"created_at": "2021-07-22 16:20:14",
"award_count": 0,
"scan_count": 0
}
],
"first_page_url": "https://dev5.yunzmall.com/web/index.php?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "https://dev5.yunzmall.com/web/index.php?page=2",
"next_page_url": "https://dev5.yunzmall.com/web/index.php?page=2",
"path": "https://dev5.yunzmall.com/web/index.php",
"per_page": 10,
"prev_page_url": null,
"to": 10,
"total": 20
}
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
备注:
- 更多返回错误代码请看首页的错误代码描述