简要描述:

  • 详情接口新增参数,其它参数不变

请求URL:

GET/plugin.appointment.frontend.appointment-order.detail

参数:

参数名 是否必须 类型 说明
project_id int 项目ID
lng float 经度
lat float 纬度

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "project": {
            "id": 3,
            "uniacid": 1,
            "uid": 1,
            "order_id": 236,
            "project_id": 3,
            "project_title": "as",
            "project_thumb": "images/1/2022/02/438c8f96d774def0841e8746a802579b.jpeg",
            "project_price": "10.00",
            "total_count": 10,
            "used_count": 2,
            "status": 0,
            "created_at": "2022-03-25 15:28:59",
            "updated_at": "2022-03-25 15:28:59",
            "deleted_at": null,
            "worker_commission": "5.00",
            "last_appointment_time": null,
            "rest_count": 10,
            "project_period": 0,
            "merchant_staff_commission": "3.00",
            "area_set": 0,
            "province": null,
            "city": null,
            "district": null,
            "street": null
        },
        "default_customer": {
            "name": "",
            "tel": ""
        },
        "service_type": [
                {
                    "title": "预约门店",
                    "type": 0
                },
                {
                    "title": "上门服务",
                    "type": 1
                }
        ]
    }
}

新增参数参数说明:

参数名 类型 说明
service_type array 服务方式数组
service_type[n].type int 服务类型值
service_type[n].title int 服务类型名称

备注:

  • 更多返回错误代码请看首页的错误代码描述