简要描述:

  • 名片-招商中心-酒店接口

请求域名:

  • http://xx.com

请求URL:

POST:plugin.business-card.frontend.controllers.card.card.getCenterHotel

参数:

参数名 是否必须 类型 说明
card_id int 名片id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "total": 1,
        "per_page": 5,
        "current_page": 1,
        "last_page": 1,
        "next_page_url": null,
        "prev_page_url": null,
        "from": 1,
        "to": 1,
        "data": [
            {
                "id": 2,
                "thumb": "https://dev1.yunzshop.com/attachment/images/5/2019/04/HMieHSu4sE9eYc22zbeQSUSFt6eEBQ.jpg",
                "hotel_name": "4234",
                "province_id": 440000,
                "city_id": 440100,
                "district_id": 440111,
                "created_at": "2019-04-12 09:24:42",
                "hotel_id": 2,
                "province_name": "广东省",
                "city_name": "广州市",
                "district_name": "白云区",
                "store_name": "4234"
            }
        ]
    }
}

返回参数说明:

参数名 类型 说明
result int 0:失败,1:成功
msg string 提示消息
data array 返回数据

返回参数 data 说明:

参数名 类型 说明

备注: