简要描述:

  • 订单预约列表

请求URL:

POST/plugin.appointment.frontend.project-goods.get-order-serviec-list

参数:

参数名 是否必须 类型 说明
title string 项目名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "uniacid": 1,
                "uid": 13669,
                "order_id": 3,
                "store_id": 19,
                "worker_id": 1,
                "status": 0,
                "customer_name": "",
                "begin_time": "1970-01-01 08:00",
                "has_one_order_project": {
                    "id": 3,
                    "project_id": 3,
                    "project_title": "测试项目",
                    "project_thumb": "images/1/2022/02/438c8f96d774def0841e8746a802579b.jpeg",
                    "project_price": "10.00"
                },
                "has_one_worker": {
                    "id": 1,
                    "name": "as"
                }
            }
        ],
        "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://www.shop777.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

错误时返回:

返回参数说明:

参数名 类型 说明
id int 预约id
title string 商品名称
status int 状态1上架0下架
begin_time string 预约开始时间
has_one_order_project.id int 项目id
has_one_order_project.project_title string 项目名称
has_one_order_project.project_thumb string 项目图片
has_one_order_project.project_price string 项目价格
has_one_worker.id int 技师id
has_one_order_project.name string 技师名称

备注:

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