早餐


订单列表

简要描述:

  • 订单列表

请求URL:

  • /wap/order/lists

请求方式:

  • POST

参数:

参数名 必选 类型 说明
o_status int 订单状态,-1全部,0待付款,1待取餐,2待配送,3已配送,4已完成,5取消

返回示例

{
  "code": 0,
  "message": "",
  "data": {
    "total": 2,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "u_id": 1,
        "o_sn": "220301144851975748",
        "out_trade_no": "220301144851975610",
        "o_status": 1,
        "a_id": 1,
        "m_name": "",
        "o_total_amount": "0.20",
        "o_pay_amount": "0.20",
        "o_goods_amount": "0.20",
        "o_freight_amount": "0.00",
        "o_coupon_amount": "0.00",
        "o_num": 2,
        "o_type": 1,
        "o_is_delete": 0,
        "o_cancel_time": "0000-00-00 00:00:00",
        "o_send_time": "0000-00-00 00:00:00",
        "o_pay_time": "2022-03-01 14:59:44",
        "o_update_time": "2022-03-01 14:59:44",
        "o_delete_time": "0000-00-00 00:00:00",
        "o_refund_time": "0000-00-00 00:00:00",
        "o_create_time": "2022-03-01 14:59:44",
        "o_status_name": "待发货",
        "order_goods": [
          {
            "ct_id": 1,
            "u_id": 1,
            "g_id": 1,
            "ct_num": 2,
            "ct_price": "0.10",
            "o_id": 2,
            "o_sn": "220301144851975748",
            "out_trade_no": "220301144851975610",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "烟台黄元帅大苹果",
            "g_title": "",
            "g_image": "http://oss.qingshanzhenxuan.com/goodsBan/5f7d16e1e413c.png",
            "ct_updateTime": "2022-03-01 14:59:45",
            "ct_createTime": "2022-02-23 17:41:18",
            "total_amount": "0.20"
          }
        ],
        "refund_status": 0
      },
      {
        "u_id": 1,
        "o_sn": "220301149857100551",
        "out_trade_no": "220301149857100559",
        "o_status": 1,
        "a_id": 1,
        "m_name": "",
        "o_total_amount": "30.20",
        "o_pay_amount": "30.20",
        "o_goods_amount": "30.20",
        "o_freight_amount": "0.00",
        "o_coupon_amount": "0.00",
        "o_num": 2,
        "o_type": 1,
        "o_is_delete": 0,
        "o_cancel_time": "0000-00-00 00:00:00",
        "o_send_time": "0000-00-00 00:00:00",
        "o_pay_time": "2022-03-01 14:59:24",
        "o_update_time": "2022-03-01 14:59:24",
        "o_delete_time": "0000-00-00 00:00:00",
        "o_refund_time": "0000-00-00 00:00:00",
        "o_create_time": "2022-03-01 14:59:23",
        "o_status_name": "待发货",
        "order_goods": [
          {
            "ct_id": 2,
            "u_id": 1,
            "g_id": 1,
            "ct_num": 2,
            "ct_price": "0.10",
            "o_id": 1,
            "o_sn": "220301149857100551",
            "out_trade_no": "220301149857100559",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "烟台黄元帅大苹果",
            "g_title": "",
            "g_image": "http://oss.qingshanzhenxuan.com/goodsBan/5f7d16e1e413c.png",
            "ct_updateTime": "2022-03-01 14:59:24",
            "ct_createTime": "2022-02-23 17:46:11",
            "total_amount": "0.20"
          },
          {
            "ct_id": 3,
            "u_id": 1,
            "g_id": 2,
            "ct_num": 2,
            "ct_price": "15.00",
            "o_id": 1,
            "o_sn": "220301149857100551",
            "out_trade_no": "220301149857100559",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "百年徐府白芝麻小磨香油500ml",
            "g_title": "",
            "g_image": "http://oss.qingshanzhenxuan.com/goodsBan/5f7d18941ead0.png",
            "ct_updateTime": "2022-03-01 14:59:24",
            "ct_createTime": "2022-02-23 17:46:35",
            "total_amount": "30.00"
          }
        ],
        "refund_status": 0
      }
    ]
  }
}

返回参数说明

参数名 类型 说明

备注

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

欢迎使用ShowDoc!

页面列表

ITEM_HTML