简要描述:

  • 会员中心加油订单

请求域名:

  • http://xx.com

全部订单:

GET/plugin.store-oil-station.frontend.order-list.index

待支付:

GET/plugin.store-oil-station.frontend.order-list.wait

已支付:

GET/plugin.store-oil-station.frontend.order-list.complete

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "list",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 895,
                "uniacid": 6,
                "uid": 2455,
                "order_sn": "SN2112171619707308",
                "price": "180.00",
                "goods_price": "300.00",
                "goods_total": 1,
                "status": 3,
                "create_time": "2021-12-17 16:19:19",
                "is_deleted": 0,
                "is_member_deleted": 0,
                "finish_time": "2021-12-17 16:21:28",
                "pay_time": "2021-12-17 16:19:29",
                "send_time": "2021-12-17 16:21:25",
                "cancel_time": "1970-01-01 08:00:00",
                "created_at": 1639729159,
                "updated_at": 1639729288,
                "dispatch_type_id": 1,
                "dispatch_price": "0.00",
                "discount_price": "0.00",
                "pay_type_id": 5,
                "order_goods_price": "300.00",
                "deduction_price": "150.00",
                "refund_id": 0,
                "is_plugin": 0,
                "change_price": "0.00",
                "change_dispatch_price": "0.00",
                "comment_status": 0,
                "order_pay_id": "58371",
                "plugin_id": 32,
                "is_virtual": 0,
                "mark": "",
                "is_pending": 0,
                "note": null,
                "cost_amount": "150.00",
                "shop_name": "门店-轻微的",
                "no_refund": 0,
                "need_address": 0,
                "auto_receipt": 0,
                "fee_amount": "30.00",
                "service_fee_amount": "0.00",
                "is_all_send_goods": 0,
                "close_reason": null,
                "vip_order_goods_price": null,
                "initial_freight": "0.00",
                "tax_fee": "0.00",
                "created_type": 0,
                "status_name": "交易完成",
                "pay_type_name": "后台",
                "oil_station_order": {
                    "id": 1,
                    "store_id": 8,
                    "order_id": 895,
                    "oil_id": 1,
                    "litre": "100.00",
                    "litre_price": "8.90",
                    "plate_num": "12345678",
					"oil_gun": "1号枪",
            }
        ],
        "last_page": 1,
        "per_page": 15,
        "total": 1
    }
}

错误时返回:


返回参数说明:

参数名 类型 说明
id int 订单ID
status_name string 订单状态
pay_time string 支付时间
create_time string 创建时间
oil_name string 油品名
oil_station_order.oil_gun string 油枪
oil_station_order.plate_num string 车牌号
oil_station_order.litre_price string 单价
oil_station_order.litre string 数量
order_goods_price string 合计金额
discount_price string 优惠金额
deduction_price string 抵扣金额
price string 支付金额
pay_type_name string 支付方式

备注:

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