早餐


订单列表

简要描述:

  • 订单列表

请求URL:

  • /distribution/order/lists

请求方式:

  • POST

参数:

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

返回示例

// 20220311103633
// http://www.bk.com/distribution/order/lists

{
  "code": 0,
  "message": "",
  "data": {
    "total": 4,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "u_id": 44,
        "o_sn": "220302195553995149",
        "fsb_id": 0,
        "out_trade_no": "220302195553995010",
        "o_status": 1,
        "a_id": 456,
        "m_name": "",
        "o_total_amount": "97.00",
        "o_pay_amount": "97.00",
        "o_goods_amount": "97.00",
        "o_freight_amount": "0.00",
        "o_coupon_amount": "0.00",
        "o_num": 1,
        "o_type": 1,
        "o_is_delete": 0,
        "o_box_sn": "",
        "o_cancel_time": "0000-00-00 00:00:00",
        "o_send_time": "0000-00-00 00:00:00",
        "o_pay_time": "2022-03-02 19:52:23",
        "o_update_time": "2022-03-02 19:52:23",
        "o_boxsn_time": null,
        "o_delete_time": "0000-00-00 00:00:00",
        "o_refund_time": "0000-00-00 00:00:00",
        "o_create_time": "2022-03-02 19:52:23",
        "o_status_name": "待取餐",
        "order_goods": [
          {
            "ct_id": 8,
            "u_id": 44,
            "g_id": 69,
            "ct_num": 3,
            "ct_price": "19.00",
            "o_id": 4,
            "o_sn": "220302195553995149",
            "out_trade_no": "220302195553995010",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "【有机认证】山友农特产香信菇干货80g/120g装",
            "g_image": "http://ykbk.oss-cn-beijing.aliyuncs.com/cover/61f117e865494.jpg",
            "ct_updateTime": "2022-03-02 19:52:24",
            "ct_createTime": "2022-03-02 18:32:31",
            "total_amount": "57.00"
          },
          {
            "ct_id": 9,
            "u_id": 44,
            "g_id": 67,
            "ct_num": 1,
            "ct_price": "21.00",
            "o_id": 4,
            "o_sn": "220302195553995149",
            "out_trade_no": "220302195553995010",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "【有机认证】山友农特产鸡腿菇干货100g/150g",
            "g_image": "http://ykbk.oss-cn-beijing.aliyuncs.com/cover/61f117e865494.jpg",
            "ct_updateTime": "2022-03-02 19:52:24",
            "ct_createTime": "2022-03-02 19:52:06",
            "total_amount": "21.00"
          },
          {
            "ct_id": 10,
            "u_id": 44,
            "g_id": 66,
            "ct_num": 1,
            "ct_price": "19.00",
            "o_id": 4,
            "o_sn": "220302195553995149",
            "out_trade_no": "220302195553995010",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "【有机认证】山友农特产无盐笋干200g",
            "g_image": "http://ykbk.oss-cn-beijing.aliyuncs.com/cover/61f117e865494.jpg",
            "ct_updateTime": "2022-03-02 19:52:24",
            "ct_createTime": "2022-03-02 19:52:17",
            "total_amount": "19.00"
          }
        ],
        "refund_status": 0
      },
      {
        "u_id": 44,
        "o_sn": "220302194854485151",
        "fsb_id": 0,
        "out_trade_no": "220302194854485149",
        "o_status": 1,
        "a_id": 456,
        "m_name": "",
        "o_total_amount": "28.00",
        "o_pay_amount": "28.00",
        "o_goods_amount": "28.00",
        "o_freight_amount": "0.00",
        "o_coupon_amount": "0.00",
        "o_num": 2,
        "o_type": 1,
        "o_is_delete": 0,
        "o_box_sn": "",
        "o_cancel_time": "0000-00-00 00:00:00",
        "o_send_time": "0000-00-00 00:00:00",
        "o_pay_time": "2022-03-02 19:41:36",
        "o_update_time": "2022-03-02 19:41:36",
        "o_boxsn_time": null,
        "o_delete_time": "0000-00-00 00:00:00",
        "o_refund_time": "0000-00-00 00:00:00",
        "o_create_time": "2022-03-02 19:41:36",
        "o_status_name": "待取餐",
        "order_goods": [
          {
            "ct_id": 7,
            "u_id": 44,
            "g_id": 70,
            "ct_num": 2,
            "ct_price": "14.00",
            "o_id": 3,
            "o_sn": "220302194854485151",
            "out_trade_no": "220302194854485149",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "【有机认证】山友农特产银耳干货120g/150g装",
            "g_image": "http://ykbk.oss-cn-beijing.aliyuncs.com/cover/61f117e865494.jpg",
            "ct_updateTime": "2022-03-02 19:41:37",
            "ct_createTime": "2022-03-02 18:19:59",
            "total_amount": "28.00"
          }
        ],
        "refund_status": 0
      },
      {
        "u_id": 1,
        "o_sn": "220301144851975748",
        "fsb_id": 0,
        "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_box_sn": "",
        "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_boxsn_time": null,
        "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_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",
        "fsb_id": 0,
        "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_box_sn": "",
        "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_boxsn_time": null,
        "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_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_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