早餐


订单列表

简要描述:

  • 订单列表

请求URL:

  • /admin/order/lists

请求方式:

  • POST

参数:

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

返回示例

// 20220321182340
// http://www.bk.com/admin/order/lists

{
  "code": 0,
  "message": "",
  "data": {
    "total": 5,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "o_id": 5,//订单id
        "u_id": 44,
        "o_sn": "220314105454511025",//订单编号
        "out_trade_no": "220314105454511025",
        "o_status": 1,//订单状态,默认0待付款,1待取餐,2待配送,3已配送,4已完成,5取消
        "fs_id": 1,//前置仓id
        "d_id": 44,//配送员id
        "fsb_id": 1,//前置仓餐柜id
        "a_id": 456,
        "m_name": "",
        "o_total_amount": "98.70",//订单总额
        "o_pay_amount": "98.70",//订单实际付款金额
        "o_goods_amount": "98.70",//订单商品总金额
        "o_freight_amount": "0.00",//订单运费
        "o_coupon_amount": "0.00",//订单优惠金额
        "o_num": 3,//订单商品数量
        "o_type": 1,//1单点,2周卡
        "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-14 10:40:38",
        "o_update_time": "2022-03-14 10:40:38",
        "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-14 10:40:38",
        "o_status_name": "待取餐",//订单状态值
        "order_goods": [//订单内商品列表
          {
            "ct_id": 11,
            "u_id": 44,
            "g_id": 136,
            "ct_num": 3,
            "ct_price": "32.90",
            "o_id": 5,
            "o_sn": "220314105454511025",
            "out_trade_no": "220314105454511025",
            "ct_type": 0,
            "ct_status": 2,
            "g_name": "【网红零食】鲜生小芥爆浆小魔方面包8袋装",
            "g_image": "http://ykbk.oss-cn-beijing.aliyuncs.com/cover/61f117e865494.jpg",
            "fsb_id": 0,
            "fs_id": 0,
            "ct_updateTime": "2022-03-14 10:40:39",
            "ct_createTime": "2022-03-14 10:36:21",
            "total_amount": "98.70"
          }
        ],
        "fs_name": "升龙又一城",//前置仓名称
        "fsb_name": "公园茂餐柜",//餐柜仓名称
        "d_name": "",//配送员名称
        "u_cellphone": ""//用户手机号
      },
      {
        "o_id": 4,
        "u_id": 44,
        "o_sn": "220302195553995149",
        "out_trade_no": "220302195553995010",
        "o_status": 1,
        "fs_id": 1,
        "d_id": 45,
        "fsb_id": 4,
        "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",
            "fsb_id": 0,
            "fs_id": 0,
            "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",
            "fsb_id": 0,
            "fs_id": 0,
            "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",
            "fsb_id": 0,
            "fs_id": 0,
            "ct_updateTime": "2022-03-02 19:52:24",
            "ct_createTime": "2022-03-02 19:52:17",
            "total_amount": "19.00"
          }
        ],
        "fs_name": "升龙又一城",
        "fsb_name": "高新万达餐柜",
        "d_name": "赵云",
        "u_cellphone": ""
      },
      {
        "o_id": 3,
        "u_id": 44,
        "o_sn": "220302194854485151",
        "out_trade_no": "220302194854485149",
        "o_status": 1,
        "fs_id": 1,
        "d_id": 44,
        "fsb_id": 3,
        "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",
            "fsb_id": 0,
            "fs_id": 0,
            "ct_updateTime": "2022-03-02 19:41:37",
            "ct_createTime": "2022-03-02 18:19:59",
            "total_amount": "28.00"
          }
        ],
        "fs_name": "升龙又一城",
        "fsb_name": "二七塔餐柜",
        "d_name": "",
        "u_cellphone": ""
      },
      {
        "o_id": 2,
        "u_id": 1,
        "o_sn": "220301144851975748",
        "out_trade_no": "220301144851975610",
        "o_status": 1,
        "fs_id": 1,
        "d_id": 43,
        "fsb_id": 2,
        "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",
            "fsb_id": 0,
            "fs_id": 0,
            "ct_updateTime": "2022-03-01 14:59:45",
            "ct_createTime": "2022-02-23 17:41:18",
            "total_amount": "0.20"
          }
        ],
        "fs_name": "升龙又一城",
        "fsb_name": "人民公园餐柜",
        "d_name": "小张",
        "u_cellphone": ""
      },
      {
        "o_id": 1,
        "u_id": 1,
        "o_sn": "220301149857100551",
        "out_trade_no": "220301149857100559",
        "o_status": 1,
        "fs_id": 1,
        "d_id": 42,
        "fsb_id": 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",
            "fsb_id": 0,
            "fs_id": 0,
            "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",
            "fsb_id": 0,
            "fs_id": 0,
            "ct_updateTime": "2022-03-01 14:59:24",
            "ct_createTime": "2022-02-23 17:46:35",
            "total_amount": "30.00"
          }
        ],
        "fs_name": "升龙又一城",
        "fsb_name": "公园茂餐柜",
        "d_name": "",
        "u_cellphone": ""
      }
    ]
  }
}

返回参数说明

参数名 类型 说明
  • 更多返回错误代码请看首页的错误代码描述


页面列表

ITEM_HTML