简要描述:

-付款页

请求域名:

  • http://xx.com

请求URL

plugin.face-to-face.frontend.recharge-order.index

请求参数说明:

参数名 类型 是否必需 说明
order_ids int 订单ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "order_pay": {
            "status": 0,
            "pay_type_id": 0,
            "order_ids": [
                349
            ],
            "amount": 50,
            "uid": 1,
            "pay_sn": "PN2208161416B68C9A",
            "updated_at": "2022-08-16 14:16:43",
            "created_at": "2022-08-16 14:16:43",
            "id": 867,
            "status_name": "未支付",
            "pay_type_name": null,
            "orders": [
                {
                    "id": 349,
                    "uniacid": 1,
                    "uid": 1,
                    "order_sn": "SN22081613459CDB97",
                    "price": "50.00",
                    "goods_price": "50.00",
                    "goods_total": 1,
                    "status": 0,
                    "create_time": "2022-08-16 13:45:45",
                    "is_deleted": 0,
                    "is_member_deleted": 0,
                    "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_time": "1970-01-01 08:00:00",
                    "created_at": 1660628745,
                    "updated_at": 1660628746,
                    "deleted_at": 0,
                    "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": "50.00",
                    "deduction_price": "0.00",
                    "refund_id": 0,
                    "is_plugin": 1,
                    "change_price": "0.00",
                    "change_dispatch_price": "0.00",
                    "comment_status": 0,
                    "order_pay_id": "",
                    "is_virtual": 1,
                    "plugin_id": 152,
                    "mark": "0",
                    "is_pending": 0,
                    "note": null,
                    "cost_amount": "0.00",
                    "shop_name": "面对面服务",
                    "no_refund": 1,
                    "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",
                    "is_all_send_goods": 0,
                    "close_reason": null,
                    "vip_order_goods_price": "50.00",
                    "initial_freight": "0.00",
                    "status_name": "待付款",
                    "pay_type_name": "未支付",
                    "pivot": {
                        "order_pay_id": 867,
                        "order_id": 349
                    },
                    "process": [],
                    "has_one_pay_type": null,
                    "order_goods": [
                        {
                            "id": 337,
                            "uniacid": 1,
                            "goods_id": 277,
                            "pay_sn": "",
                            "total": 1,
                            "create_at": 0,
                            "price": "50.00",
                            "goods_sn": "",
                            "uid": 1,
                            "thumb": "",
                            "title": "",
                            "goods_price": "50.00",
                            "goods_option_id": 0,
                            "goods_option_title": "",
                            "product_sn": "",
                            "created_at": "2022-08-16 13:45:46",
                            "updated_at": "2022-08-16 13:45:46",
                            "discount_price": "0.00",
                            "comment_status": 0,
                            "change_price": "0.00",
                            "comment_id": 0,
                            "goods_market_price": "0.00",
                            "goods_cost_price": "0.00",
                            "vip_price": "50.00",
                            "coupon_price": "0.00",
                            "payment_amount": "50.00",
                            "deduction_amount": "0.00",
                            "need_address": 0,
                            "order_express_id": null,
                            "is_refund": 0,
                            "buttons": [],
                            "goods": {
                                "id": 277,
                                "uniacid": 1,
                                "brand_id": 0,
                                "type": 2,
                                "status": 1,
                                "display_order": 0,
                                "title": "",
                                "thumb": "",
                                "thumb_url": null,
                                "sku": "",
                                "description": "",
                                "content": null,
                                "goods_sn": "",
                                "product_sn": "",
                                "market_price": "0.00",
                                "price": "50.00",
                                "cost_price": "0.00",
                                "stock": 0,
                                "reduce_stock_method": 2,
                                "show_sales": 0,
                                "real_sales": 0,
                                "weight": "0.00",
                                "has_option": 0,
                                "is_new": 0,
                                "is_hot": 0,
                                "is_discount": 0,
                                "is_recommand": 0,
                                "is_comment": 0,
                                "is_deleted": 0,
                                "created_at": "2022-08-11 09:51:49",
                                "deleted_at": null,
                                "updated_at": "2022-08-16 13:45:43",
                                "comment_num": 0,
                                "is_plugin": 1,
                                "plugin_id": 152,
                                "virtual_sales": 0,
                                "no_refund": 1,
                                "need_address": 0,
                                "type2": 1,
                                "old_id": null,
                                "volume": null,
                                "goods_video": null,
                                "alias": "",
                                "is_hide": 2,
                                "status_name": "上架"
                            }
                        }
                    ]
                }
            ],
            "pay_type": null
        },
        "member": {
            "credit2": "9745.99",
            "avatar_image": "",
            "username": null
        },
        "buttons": [
            {
                "code": "balance",
                "name": "余额",
                "value": 3,
                "need_password": true,
                "weight": 1001
            },
            {
                "code": "alipay",
                "name": "支付宝",
                "value": 2,
                "need_password": false,
                "weight": 899
            }
        ],
        "typename": "",
        "min_redirect_url": "/packageD/member/footprint/footprint",
        "order_contract": []
    }
}

返回参数说明:订单参数

参数名 类型 说明

错误时返回:

{
    "result": 0,
    "msg": "请登录",
    "data": []
}