简要描述:
- 文本权益详情
请求URL:
请求方式:
- GET
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| id | 是 | string | 权益列表ID |
返回示例:
正确时返回:
{
"code": 0,
"data": {
"info": [],
"list": [{
"cate_id": "3",
"cate_name": "省钱购物",
"cate_index": "1",
"list": [{
"id": "4",
"name": "天天免邮",
"href": "",
"title": "免邮",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309110907739.png",
"details": "范德萨发给式打法是",
"icon_choice": "",
"link": "",
"link_text": null,
"index": "1"
}, {
"id": "5",
"name": "0元领好物",
"title": "实物实物副标题",
"href": "http:\/\/m.test.azmks.com\/topic\/276.html",
"link": "http:\/\/m.test.azmks.com\/topic\/276.html",
"link_text": null,
"details": "权益内容,权益内容,权益内容,权益内容,权益内容。\r\n,权益内容,权益内容,权益内容\r\n,权益内容,权益内容,权益内容",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"icon_choice": "\/backend\/gallery\/2021\/11\/24\/16377247564950.png",
"index": "2"
}, {
"id": "9",
"name": "红包专区",
"title": "红包副标题",
"href": "首页跳转地址",
"link": "详情跳转地址",
"link_text": null,
"details": "内容内容",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"icon_choice": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"index": "5"
}, {
"id": "10",
"name": "购物即返",
"title": "每单必返现,购物更省钱",
"href": "",
"link": "",
"link_text": null,
"details": "",
"icon": "\/backend\/gallery\/2021\/03\/27\/16168128728901.png",
"icon_choice": "\/backend\/gallery\/2019\/12\/16\/15764890319727.png",
"index": "6"
}, {
"id": "12",
"name": "每日闪购",
"title": "每日5款超低价",
"href": "",
"link": "",
"link_text": null,
"details": "",
"icon": "\/backend\/gallery\/2019\/12\/11\/15760293354362.jpg",
"icon_choice": "\/backend\/gallery\/2019\/12\/16\/15764890319727.png",
"index": "6"
}]
}, {
"cate_id": "4",
"cate_name": "省心服务",
"cate_index": "2",
"list": [{
"id": "6",
"name": "免费退换",
"href": "",
"title": "放心购物,退换无忧",
"icon": "\/backend\/gallery\/2021\/11\/01\/16357331593599.png",
"details": "免费退换,免费退换免费退换免费退换免费退换,免费退换,免费退换\r\n免费退换,免费退换\r\n免费退换免费退换免费退换免费退换,\r\n免费退换免费退换免费退换免费退换",
"icon_choice": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"link": "",
"link_text": null,
"index": "2"
}, {
"id": "7",
"name": "急速售后",
"title": "优先处理",
"href": "",
"link": "",
"link_text": null,
"details": "急速售后急速售后急速售后,内容内容内容",
"icon": "\/backend\/gallery\/2021\/11\/24\/16377247598680.png",
"icon_choice": "\/backend\/gallery\/2021\/11\/24\/16377247564950.png",
"index": "3"
}, {
"id": "8",
"name": "不回本退差",
"title": "差多少退多少",
"href": "",
"link": "",
"link_text": null,
"details": "差多少退多少内容内容内容内容内容内容内容内容内容内容",
"icon": "\/backend\/gallery\/2021\/11\/24\/16377247598680.png",
"icon_choice": "\/backend\/gallery\/2021\/10\/06\/16334846255649.png",
"index": "4"
}]
}, {
"cate_id": "5",
"cate_name": "专项特权",
"cate_index": "3",
"list": [{
"id": "13",
"name": "新品试用",
"href": "",
"title": "抢先体验,优先购买",
"icon": "\/backend\/gallery\/2019\/12\/23\/15771145116143.jpg",
"details": "抢先体验,优先购买 内容内容",
"icon_choice": "\/backend\/gallery\/2019\/12\/23\/15771148281979.jpg",
"link": "",
"link_text": null,
"index": "1"
}, {
"id": "14",
"name": "邀请好友",
"title": "邀请好友累计XX",
"href": "",
"link": "",
"link_text": null,
"details": "邀请、内容内容内容",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"icon_choice": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"index": "2"
}, {
"id": "15",
"name": "八客会员日",
"title": "生日当天",
"href": "",
"link": "",
"link_text": null,
"details": "生日内容生日内容",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"icon_choice": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"index": "3"
}, {
"id": "18",
"name": "积分翻倍",
"title": "",
"href": "",
"link": "",
"link_text": null,
"details": "",
"icon": "",
"icon_choice": "",
"index": "4"
}, {
"id": "19",
"name": "免费体检",
"title": "",
"href": "",
"link": "",
"link_text": null,
"details": "",
"icon": "\/backend\/gallery\/2021\/09\/29\/16329066826983.jpg",
"icon_choice": "\/backend\/gallery\/2021\/09\/29\/16329066826983.jpg",
"index": "7"
}, {
"id": "17",
"name": "八客会员日",
"title": "每月8号",
"href": "",
"link": "",
"link_text": null,
"details": "",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"icon_choice": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"index": "9"
}, {
"id": "16",
"name": "会员特惠",
"title": "全场1折起,可参与满减,使用红包",
"href": "",
"link": "",
"link_text": null,
"details": "全场1折起,可参与满减,使用红包",
"icon": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"icon_choice": "\/backend\/gallery\/2021\/09\/06\/16309204734515.gif",
"index": "99"
}]
}]
},
"message": "",
"success": "OK"
}错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| info | array | 内容和list中的字段相同,为一维数组 |
| list | array | 权益列表–二维数组 |
| list.details | string | 权益内容 |
| list.link | string | 权益内容中(去看看链接) |
| list.link_text | string | 权益内容中(去看看文字) |
| list.icon | string | 权益icon |
| list.icon_choice | string | 选中权益后的ICON |
备注:
- 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2022-04-13 11:08 作者:xieyuhua