简要描述:

提货卡-获取已完成订单

请求域名:

  • https://dev4.yunzmall.com/

请求URL:

POST/plugin.picking-card.frontend.PickingOrder.completed

返回示例:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "total": 5,
        "per_page": 20,
        "current_page": 1,
        "last_page": 1,
        "next_page_url": null,
        "prev_page_url": null,
        "from": 1,
        "to": 5,
        "data": [
            {
                "id": 6902,
                "order_sn": "SN201028180292C86C",
                "price": "5.00",
                "goods_price": "5.00",
                "goods_total": 1,
                "status": 0,
                "create_time": "2020-11-20 16:18:19",
                "finish_time": "1970-01-01 08:00:00",
                "pay_time": "1970-01-01 08:00:00",
                "send_time": "1970-01-01 08:00:00",
                "cancel_pay_time": "1970-01-01 08:00:00",
                "cancel_send_time": "1970-01-01 08:00:00",
                "dispatch_type_id": 1,
                "dispatch_price": "0.00",
                "discount_price": "0.00",
                "pay_type_id": 0,
                "order_goods_price": "5.00",
                "deduction_price": "0.00",
                "refund_id": 0,
                "is_plugin": 0,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "comment_status": 0,
                "order_pay_id": "",
                "is_virtual": 0,
                "plugin_id": 0,
                "mark": "",
                "is_pending": 0,
                "note": null,
                "cost_amount": "5.00",
                "shop_name": "商城",
                "no_refund": 0,
                "need_address": 0,
                "invoice_type": null,
                "rise_type": null,
                "collect_name": null,
                "company_number": null,
                "invoice": null,
                "auto_receipt": 0,
                "fee_amount": "0.00",
                "service_fee_amount": "0.00",
                "status_name": "待付款",
                "pay_type_name": "未支付",
                "button_models": [],
                "process": [],
                "has_one_pay_type": {
                    "id": 0,
                    "name": "未支付",
                    "plugin_id": 0,
                    "code": "unPay",
                    "type": 0,
                    "unit": "",
                    "updated_at": "2017-09-19 09:48:07",
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "",
                    "need_password": 0,
                    "group_id": 0
                },
                "has_many_order_goods": [
                    {
                        "goods_id": 7523,
                        "goods_price": "5.00",
                        "total": 1,
                        "price": "5.00",
                        "thumb": "https://dev4.yunzmall.com/attachment/images/9/2019/09/lpdUPyxD9uXyR2r39rY2Q3D06r2eDZ.jpg",
                        "title": "课程商品测试",
                        "goods_option_id": 0,
                        "goods_option_title": "",
                        "comment_status": 0,
                        "buttons": []
                    }
                ]
            },
            {
                "id": 6901,
                "order_sn": "SN2010281801749F6F",
                "price": "5.00",
                "goods_price": "5.00",
                "goods_total": 1,
                "status": 0,
                "create_time": "2020-11-20 16:15:03",
                "finish_time": "1970-01-01 08:00:00",
                "pay_time": "1970-01-01 08:00:00",
                "send_time": "1970-01-01 08:00:00",
                "cancel_pay_time": "1970-01-01 08:00:00",
                "cancel_send_time": "1970-01-01 08:00:00",
                "dispatch_type_id": 1,
                "dispatch_price": "0.00",
                "discount_price": "0.00",
                "pay_type_id": 0,
                "order_goods_price": "5.00",
                "deduction_price": "0.00",
                "refund_id": 0,
                "is_plugin": 0,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "comment_status": 0,
                "order_pay_id": "",
                "is_virtual": 0,
                "plugin_id": 0,
                "mark": "",
                "is_pending": 0,
                "note": null,
                "cost_amount": "5.00",
                "shop_name": "商城",
                "no_refund": 0,
                "need_address": 0,
                "invoice_type": null,
                "rise_type": null,
                "collect_name": null,
                "company_number": null,
                "invoice": null,
                "auto_receipt": 0,
                "fee_amount": "0.00",
                "service_fee_amount": "0.00",
                "status_name": "待付款",
                "pay_type_name": "未支付",
                "button_models": [],
                "process": [],
                "has_one_pay_type": {
                    "id": 0,
                    "name": "未支付",
                    "plugin_id": 0,
                    "code": "unPay",
                    "type": 0,
                    "unit": "",
                    "updated_at": "2017-09-19 09:48:07",
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "",
                    "need_password": 0,
                    "group_id": 0
                },
                "has_many_order_goods": [
                    {
                        "goods_id": 7523,
                        "goods_price": "5.00",
                        "total": 1,
                        "price": "5.00",
                        "thumb": "https://dev4.yunzmall.com/attachment/images/9/2019/09/lpdUPyxD9uXyR2r39rY2Q3D06r2eDZ.jpg",
                        "title": "课程商品测试",
                        "goods_option_id": 0,
                        "goods_option_title": "",
                        "comment_status": 0,
                        "buttons": []
                    }
                ]
            },
            {
                "id": 6885,
                "order_sn": "SN201028180177E68B",
                "price": "5.00",
                "goods_price": "5.00",
                "goods_total": 1,
                "status": 1,
                "create_time": "2020-11-17 16:17:31",
                "finish_time": "1970-01-01 08:00:00",
                "pay_time": "2020-11-18 10:52:12",
                "send_time": "1970-01-01 08:00:00",
                "cancel_pay_time": "1970-01-01 08:00:00",
                "cancel_send_time": "1970-01-01 08:00:00",
                "dispatch_type_id": 1,
                "dispatch_price": "0.00",
                "discount_price": "0.00",
                "pay_type_id": 5,
                "order_goods_price": "5.00",
                "deduction_price": "0.00",
                "refund_id": 0,
                "is_plugin": 0,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "comment_status": 0,
                "order_pay_id": "8486",
                "is_virtual": 0,
                "plugin_id": 0,
                "mark": "",
                "is_pending": 0,
                "note": null,
                "cost_amount": "5.00",
                "shop_name": "商城",
                "no_refund": 0,
                "need_address": 0,
                "invoice_type": null,
                "rise_type": null,
                "collect_name": null,
                "company_number": null,
                "invoice": null,
                "auto_receipt": 0,
                "fee_amount": "0.00",
                "service_fee_amount": "0.00",
                "status_name": "待发货",
                "pay_type_name": "后台",
                "button_models": [
                    {
                        "name": "退款中",
                        "value": 101,
                        "api": "pickUpCardReimburse",
                        "type": ""
                    }
                ],
                "process": [],
                "has_one_pay_type": {
                    "id": 5,
                    "name": "后台",
                    "plugin_id": 0,
                    "code": "backend",
                    "type": 1,
                    "unit": "元",
                    "updated_at": "2018-12-20 16:59:57",
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "",
                    "need_password": 0,
                    "group_id": 4
                },
                "has_many_order_goods": [
                    {
                        "goods_id": 7523,
                        "goods_price": "5.00",
                        "total": 1,
                        "price": "5.00",
                        "thumb": "https://dev4.yunzmall.com/attachment/images/9/2019/09/lpdUPyxD9uXyR2r39rY2Q3D06r2eDZ.jpg",
                        "title": "课程商品测试",
                        "goods_option_id": 0,
                        "goods_option_title": "",
                        "comment_status": 0,
                        "buttons": []
                    }
                ]
            },
            {
                "id": 6884,
                "order_sn": "SN2010281802CC2A41",
                "price": "5.00",
                "goods_price": "5.00",
                "goods_total": 1,
                "status": 1,
                "create_time": "2020-11-17 09:21:25",
                "finish_time": "1970-01-01 08:00:00",
                "pay_time": "2020-11-18 14:50:10",
                "send_time": "1970-01-01 08:00:00",
                "cancel_pay_time": "1970-01-01 08:00:00",
                "cancel_send_time": "1970-01-01 08:00:00",
                "dispatch_type_id": 1,
                "dispatch_price": "0.00",
                "discount_price": "0.00",
                "pay_type_id": 17,
                "order_goods_price": "5.00",
                "deduction_price": "0.00",
                "refund_id": 0,
                "is_plugin": 0,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "comment_status": 0,
                "order_pay_id": "8507",
                "is_virtual": 0,
                "plugin_id": 0,
                "mark": "",
                "is_pending": 0,
                "note": null,
                "cost_amount": "5.00",
                "shop_name": "商城",
                "no_refund": 0,
                "need_address": 0,
                "invoice_type": null,
                "rise_type": null,
                "collect_name": null,
                "company_number": null,
                "invoice": null,
                "auto_receipt": 0,
                "fee_amount": "0.00",
                "service_fee_amount": "0.00",
                "status_name": "待发货",
                "pay_type_name": "货到付款",
                "button_models": [
                    {
                        "name": "退款中",
                        "value": 101,
                        "api": "pickUpCardReimburse",
                        "type": ""
                    }
                ],
                "process": [],
                "has_one_pay_type": {
                    "id": 17,
                    "name": "货到付款",
                    "plugin_id": 0,
                    "code": "COD",
                    "type": 1,
                    "unit": "元",
                    "updated_at": null,
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "shop.pay.cod",
                    "need_password": 0,
                    "group_id": 0
                },
                "has_many_order_goods": [
                    {
                        "goods_id": 7523,
                        "goods_price": "5.00",
                        "total": 1,
                        "price": "5.00",
                        "thumb": "https://dev4.yunzmall.com/attachment/images/9/2019/09/lpdUPyxD9uXyR2r39rY2Q3D06r2eDZ.jpg",
                        "title": "课程商品测试",
                        "goods_option_id": 0,
                        "goods_option_title": "",
                        "comment_status": 0,
                        "buttons": []
                    }
                ]
            },
            {
                "id": 6883,
                "order_sn": "SN201028180298A6E0",
                "price": "5.00",
                "goods_price": "5.00",
                "goods_total": 1,
                "status": 1,
                "create_time": "2020-11-17 09:17:48",
                "finish_time": "1970-01-01 08:00:00",
                "pay_time": "2020-11-19 17:48:45",
                "send_time": "1970-01-01 08:00:00",
                "cancel_pay_time": "1970-01-01 08:00:00",
                "cancel_send_time": "1970-01-01 08:00:00",
                "dispatch_type_id": 1,
                "dispatch_price": "0.00",
                "discount_price": "0.00",
                "pay_type_id": 17,
                "order_goods_price": "5.00",
                "deduction_price": "0.00",
                "refund_id": 0,
                "is_plugin": 0,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "comment_status": 0,
                "order_pay_id": "8529",
                "is_virtual": 0,
                "plugin_id": 0,
                "mark": "",
                "is_pending": 0,
                "note": null,
                "cost_amount": "5.00",
                "shop_name": "商城",
                "no_refund": 0,
                "need_address": 0,
                "invoice_type": null,
                "rise_type": null,
                "collect_name": null,
                "company_number": null,
                "invoice": null,
                "auto_receipt": 0,
                "fee_amount": "0.00",
                "service_fee_amount": "0.00",
                "status_name": "待发货",
                "pay_type_name": "货到付款",
                "button_models": [
                    {
                        "name": "退款中",
                        "value": 101,
                        "api": "pickUpCardReimburse",
                        "type": ""
                    }
                ],
                "process": [],
                "has_one_pay_type": {
                    "id": 17,
                    "name": "货到付款",
                    "plugin_id": 0,
                    "code": "COD",
                    "type": 1,
                    "unit": "元",
                    "updated_at": null,
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "shop.pay.cod",
                    "need_password": 0,
                    "group_id": 0
                },
                "has_many_order_goods": [
                    {
                        "goods_id": 7523,
                        "goods_price": "5.00",
                        "total": 1,
                        "price": "5.00",
                        "thumb": "https://dev4.yunzmall.com/attachment/images/9/2019/09/lpdUPyxD9uXyR2r39rY2Q3D06r2eDZ.jpg",
                        "title": "课程商品测试",
                        "goods_option_id": 0,
                        "goods_option_title": "",
                        "comment_status": 0,
                        "buttons": []
                    }
                ]
            }
        ]
    }
}

备注:

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