简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-08-15

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
module string 模块
page int 页码
pagesize int 条数
longitude string 经度
latitude string 纬度
cate_id int 分类id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "id": 8,
                "shop_id": 1,
                "title": "桔社公寓 1室1厅1卫",
                "price": "1000.00",
                "cover": "http://wzb.com/uploads/service/2020/07/11/5f09722c95323.png",
                "area": "30m²",
                "floor": "中 / 7层",
                "address": "广东省深圳市龙岗区桔社公寓",
                "longitude": "114.245677",
                "latitude": "22.698421",
                "shop_class": "6,7,8",
                "distance": "652m",
                "room_type": "1室1厅1卫",
                "icon_arr": [
                    "电视",
                    "wifi",
                    "电话",
                    "浴室",
                    "窗户"
                ]
            }
        ],
        "page": 1,
        "pagesize": 1,
        "total": 7
    }
}

错误时返回:

{
    "status": 0,
    "msg": "参数错误"
}

返回参数说明:

参数名 类型 说明
id int id
shop_id int 店铺id
title string 标题
price string 价格
cover string 封面
area string 面积
floor string 楼层
address string 地址
longitude string 经度
latitude string 纬度
distance string 距离
room_type string 房型 例如:1室1厅1卫
icon_arr array 选项数组

备注:

作者:admin  创建时间:2020-08-15 15:28
 更新时间:2025-04-10 15:43
上一篇:
下一篇: