简要描述:
请求URL:
GET/route=plugin.travel-around.frontend.index.index
参数名 |
类型 |
说明 |
city |
string |
站点名称 |
否 |
cityCode |
string |
城市编码 |
否 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取成功",
"data": {
"banner": [
{
"title": "11",
"image": "images/5/2020/08/Ow7wYbbwCbwbs7P6B756Y3I5W7W6hi.png",
"h5_url": "11",
"mini_url": "222",
"image_url": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/Ow7wYbbwCbwbs7P6B756Y3I5W7W6hi.png"
}
],
"category": [
{
"id": 256,
"name": "胶原蛋白",
"thumb": "images/5/2020/08/LaGAc8GZ77pz4hHckhlah2h8CIoHlH.png",
"thumb_url": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/LaGAc8GZ77pz4hHckhlah2h8CIoHlH.png"
},
{
"id": 639,
"name": "餐饮类",
"thumb": "",
"thumb_url": ""
},
{
"id": 831,
"name": "酒店住宿类",
"thumb": "",
"thumb_url": ""
},
{
"id": 842,
"name": "休闲娱乐类",
"thumb": "",
"thumb_url": ""
},
{
"id": 888,
"name": "丽人类",
"thumb": "",
"thumb_url": ""
},
{
"id": 904,
"name": "生活服务类",
"thumb": "",
"thumb_url": ""
},
{
"id": 961,
"name": "医疗健康类",
"thumb": "",
"thumb_url": ""
},
{
"id": 975,
"name": "游乐票务类",
"thumb": "",
"thumb_url": ""
},
{
"id": 1000,
"name": "第三方会员卡",
"thumb": "",
"thumb_url": ""
},
{
"id": 1008,
"name": "微课学习培训",
"thumb": "",
"thumb_url": ""
},
{
"id": 1011,
"name": "亦鲜生产品专用分类",
"thumb": "",
"thumb_url": ""
}
],
"goods": [
{
"id": 3728,
"title": "火锅",
"thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
"price": "140.00",
"market_price": "140.00",
"show_sales": 11,
"status_name": null,
"has_one_travel_around_goods": {
"long_title": "",
"goods_id": 3728
}
},
{
"id": 3726,
"title": "BURGER QUEEN",
"thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
"price": "40.00",
"market_price": "40.00",
"show_sales": 3,
"status_name": null,
"has_one_travel_around_goods": {
"long_title": "",
"goods_id": 3726
}
},
{
"id": 3725,
"title": "火锅",
"thumb": "https://ll-oss-debug.oss-cn-beijing.aliyuncs.com/lianlian/design/cef201bc63ed4d0cb941e6b64a0b06d4.png",
"price": "140.00",
"market_price": "140.00",
"show_sales": 1,
"status_name": null,
"has_one_travel_around_goods": {
"long_title": "",
"goods_id": 3725
}
}
]
}
}
参数名 |
类型 |
说明 |
banner |
array |
轮播图 |
category |
array |
分类 |
goods |
array |
商品(3个) |
banner 轮播图:
参数名 |
类型 |
说明 |
title |
string |
名称 |
image_url |
string |
图片 |
h5_url |
string |
H5跳转链接 |
mini_url |
string |
小程序跳转链接 |
category 分类:
参数名 |
类型 |
说明 |
id |
int |
|
name |
string |
名字 |
thumb |
string |
图标 |
goods:
参数名 |
类型 |
说明 |
id |
int |
id |
title |
string |
商品名称 |
thumb |
string |
图片 |
price |
string |
售价 |
market_price |
string |
市场价 |
show_sales |
int |
销量 |
has_one_travel_around_goods |
array |
周边游商品内容 |
has_one_travel_around_goods 分类:
参数名 |
类型 |
说明 |
long_title |
string |
长标题 |