简要描述:

  • 酒店列表

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.hotel-supply.frontend.hotel-supply.order-info

参数:

参数名 是否必须 类型 说明
order_id int 订单id

返回示例:

正确时返回:

{
    "result": 1, 
    "msg": "info", 
    "data": {
        "id": 1, 
        "uniacid": 6, 
        "order_id": 752, 
        "hotel_id": 1162, 
        "sid": 3700, 
        "user_name": "测试", 
        "tel": "15012345678", 
        "huilian_oid": "SN20200317105525Rs", 
        "nums": 1, 
        "wecha_id": null, 
        "price": "200.00", 
        "start_at": "2020-03-19", 
        "end_at": "2020-03-21", 
        "status": 0, 
        "created_at": "2020-03-17 10:55:25", 
        "updated_at": "2020-03-17 10:55:25", 
        "deleted_at": null, 
        "remark": "测设我都签完服务区分", 
        "status_name": "未支付", 
        "has_one_hotel": {
            "id": 358, 
            "uniacid": 6, 
            "hotel_id": 1162, 
            "name": "测试酒店", 
            "shortname": "1", 
            "latitude": "28.65119", 
            "longitude": "115.887208", 
            "tel": "17600689924", 
            "logourl": "http://lc.4007050580.com/uploads/q/qmuiko1431678728/c/a/0/a/thumb_5c415d1b50677.jpg", 
            "provice": "省份", 
            "city": "地级市", 
            "area": "市、县级市、县", 
            "address": "测试地址", 
            "other": "PARKING,WIFI,XICANG,RESHUI,XIYI,JIAOXING,SHANGWANG,XINGLI", 
            "level": 1, 
            "is_manfang": 0, 
            "created_at": "2020-03-18 11:36:01", 
            "level_name": "快捷商务", 
            "other_name": "停车位,WIFI,XICANG,热水,洗衣,叫醒,上网,行李"
        }
    }
}

错误时返回:

  {
  "result": 0,
  "msg": "未检测到数据!",
  "data": []
}

返回参数说明:

参数名 类型 说明
user_name string 登记人姓名
tel string 手机号
start_at string 入住日期
end_at string 离开日期
status_name string 预订状态
remark string 预订失败说明
status int 状态:0:未支付 1:预订成功 -1:预订失败

has_one_hotel 参数酒店信息说明:

参数名 类型 说明
name string 名称
tel string 联系方式
latitude int 纬度
longitude int 经度
address string 地址
logourl string 图片

备注: