简要描述:
- 酒店聚合页接口,
请求URL:
GET/plugin.hotel.frontend.hotel.get-default.get-index-data
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取数据成功",
"data": {
"carousels": [
{
"name": "213",
"link": "http://www.web7.com/addons/yun_shop/?menu#/member/orderList/0?i=5",
"thumb": "https://www.web7.com/attachment/images/5/2019/01/x3qYvUfvvUFIy4Uo63Z4HPvvudVpoY.jpg"
},
{
"name": "123",
"link": "http://www.web7.com/addons/yun_shop/?menu#/member/orderList/0?i=5",
"thumb": "https://www.web7.com/attachment/images/5/2019/01/I9yVyBYHDBVIy665RrG511sRSRO315.jpg"
}
],
"banner": {
"link": "http://www.web7.com/addons/yun_shop/?menu#/category?i=5",
"img": "https://www.web7.com/attachment/images/5/2019/01/TSRSmhyP3DPdhsezSN0MrbYYyddaYP.jpg"
}
}
}
错误时返回:
返回参数说明:
carousels | 类型 | 说明 |
---|---|---|
name | string | 幻灯片名称 |
link | string | 幻灯片图片链接 |
thumb | string | 幻灯片图片 |
banner | 类型 | 说明 |
---|---|---|
link | string | 聚合页图片链接 |
img | string | 聚合页图片 |
备注:
- 更多返回错误代码请看首页的错误代码描述