用户端首页
GET {{base_url}}/index
Query
参数名 | 类型 | 必需 | 描述 | 示例 |
---|---|---|---|---|
req_type |
string | 1 | app | |
longitude |
string | 1 | 114.041523 | |
latitude |
string | 1 | 22.613933 |
返回示例
{
"status": 200,
"msg": "获取成功",
"data": {
"banner": [
{
"images": "http://192.168.1.173:83/uploads/banner/2020-05-06/5eb2281763c16.png",
"url": "#"
},
{
"images": "http://192.168.1.173:83/uploads/banner/2020-05-06/5eb228309df31.png",
"url": "#"
},
{
"images": "http://192.168.1.173:83/uploads/banner/2020-05-06/5eb2283d28eeb.png",
"url": "#"
}
],
"convenience_store": [
{
"shop_id": 4,
"shop_type": 1,
"shop_name": "炸鸡店(深圳北站店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22d41a9949.png",
"distance": "307m",
"shop_type_name": "便利店"
},
{
"shop_id": 5,
"shop_type": 1,
"shop_name": "便利店(深圳北站店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22df5986fc.png",
"distance": "628m",
"shop_type_name": "便利店"
},
{
"shop_id": 2,
"shop_type": 1,
"shop_name": "便利店(布吉店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-04-15/5e96a157593d6.png",
"distance": "9.2km",
"shop_type_name": "便利店"
},
{
"shop_id": 3,
"shop_type": 1,
"shop_name": "炸鸡店(布吉店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22cbd93ba7.png",
"distance": "9.2km",
"shop_type_name": "便利店"
},
{
"shop_id": 1,
"shop_type": 1,
"shop_name": "便利店(爱联店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-04-15/5e96870366015.png",
"distance": "23.4km",
"shop_type_name": "便利店"
}
],
"fried_chicken_shop": [],
"enclosure_shop": [
{
"shop_id": 4,
"shop_type": 1,
"shop_name": "炸鸡店(深圳北站店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22d41a9949.png",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "307m",
"shop_type_name": "便利店"
},
{
"shop_id": 5,
"shop_type": 1,
"shop_name": "便利店(深圳北站店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22df5986fc.png",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "628m",
"shop_type_name": "便利店"
},
{
"shop_id": 2,
"shop_type": 1,
"shop_name": "便利店(布吉店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-04-15/5e96a157593d6.png",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "9.2km",
"shop_type_name": "便利店"
},
{
"shop_id": 3,
"shop_type": 1,
"shop_name": "炸鸡店(布吉店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22cbd93ba7.png",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "9.2km",
"shop_type_name": "便利店"
},
{
"shop_id": 1,
"shop_type": 1,
"shop_name": "便利店(爱联店)",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-04-15/5e96870366015.png",
"star": "4.9",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 2,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "23.4km",
"shop_type_name": "便利店"
},
{
"shop_id": 7,
"shop_type": 2,
"shop_name": "首尔炸鸡",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22df5986fc.png",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "36.6km",
"shop_type_name": "美食店"
},
{
"shop_id": 8,
"shop_type": 1,
"shop_name": "记得便利店",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-06/5eb22df5986fc.png",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "36.6km",
"shop_type_name": "便利店"
},
{
"shop_id": 6,
"shop_type": 1,
"shop_name": "好吃不胖炸鸡店",
"shop_logo": "http://192.168.1.173:83/uploads/shop_logo/2020-05-28/5ecf74a943f77.jpg",
"star": "5.0",
"monthly_sale": 0,
"exceed_money_send_goods": 0,
"distribution_fee": 0,
"distribution_fee_old": 0,
"send_goods_time": 0,
"distance": "1942.6km",
"shop_type_name": "便利店"
}
]
}
}
文档更新时间: 2020-06-13 15:28 作者:nianwang