获取订单列表


请求地址: 

https://open.dlszywz.cn/open/Order/getOrderList


请求方式:

  • GET

参数:


参数名必选类型说明
tokenstring授权令牌【通过header参数传值】
stateint1 待付款   2 配送中 3 已完成  4已取消  5全部有效订单  6已退款订单
pageint页数(每页100个商品)


返回示例

{
    "code": 200,
    "data": {
        "2479110": {
            "id": 2479110,
            "user_user_id": 17373175,
            "input_time": "2020-05-09 15:38:52",
            "state": 2,
            "zf_new_state": 1,
            "shops_user_id": 0,
            "is_send": 1,
            "type": 0,
            "is_shouhuo": 0,
            "payment": "手机微信支付",
            "pro_info": [
                {
                    "id": 4814959,
                    "name": "购买送会员等级",
                    "param_info": "",
                    "pic": "http://img.ev123.com/pic/nopic/200_200.jpg",
                    "pro_id": 17661301,
                    "param_id": 0,
                    "num": 100
                }
            ],
            "main_order_id": 0,
            "zf_order_id": "4200000524202005096666776263",
            "promotion_info": null,
            "price": "650.00",
            "chengjiao_price": 0,
            "peisong_money": 0,
            "invoice_price": "0.00",
            "use_payCard_money": "1.00",
            "use_redBag_money": "1.00",
            "use_balance": "583.19",
            "use_jifen_money": "64.80",
            "use_mall_integral": 648,
            "fh_time": "2020-05-09 15:39:49",
            "cj_time": "2020-05-09 15:40:42"
        },
        "2396631": {
            "id": 2396631,
            "user_user_id": 13925726,
            "input_time": "2020-04-15 17:17:49",
            "state": 2,
            "zf_new_state": 1,
            "shops_user_id": 0,
            "is_send": 1,
            "type": 4,
            "is_shouhuo": 0,
            "payment": "在线支付",
            "pro_info": [
                {
                    "id": 4662930,
                    "name": "扫码支付",
                    "param_info": "",
                    "pic": "",
                    "pro_id": 0,
                    "param_id": 0,
                    "num": 1
                }
            ],
            "main_order_id": 0,
            "zf_order_id": "",
            "promotion_info": null,
            "price": "2.00",
            "chengjiao_price": 2,
            "peisong_money": 0,
            "invoice_price": "0.00",
            "use_payCard_money": "0.00",
            "use_redBag_money": "0.00",
            "use_balance": "2.00",
            "use_jifen_money": "0.00",
            "use_mall_integral": 0,
            "fh_time": null,
            "cj_time": "2020-04-15 17:17:49"
        },
    "param": [
        "本数据有约5分钟缓存!"
    ],
    "msg": "success code: 200"
}


返回参数说明

参数名类型说明
idint订单总数
user_user_idint会员ID
input_timedatetime提单时间
stateint订单状态 0 未处理 1配送中 2 已完成
zf_new_stateint支付状态 0 未支付   1 已支付 2 管理员手工修改为已支付
shops_user_idint商铺ID
is_sendint是否配送 0不配送 1配送
typeint订单类型 0 产品  1 订餐  2 场地  3 人员预订 4 扫码支付 5 会员卡购买 6 微砍价 7缴费订单 9视频课程 10文件下载 
is_shouhuoint是否已收货
paymentvarchar支付方式
pro_infovarchar商品信息(pro_id商品ID name商品信息 param_info规格信息 pic 图片 num 购买数量 param_id规格ID)
main_order_idint主订单ID
zf_order_idvarchar第三方支付订单号
promotion_infovarchar满减信息
pricedecimal(10,2) 订单价格
chengjiao_pricedecimal(10,2) 约定成交价
peisong_moneydecimal(10,2) 配送费
invoice_pricedecimal(10,2) 税费     
use_payCard_moneydecimal(10,2) 支付卡抵扣金额
use_redBag_moneydecimal(10,2) 红包抵扣金额
use_balancedecimal(10,2) 余额支付金额
use_jifen_moneydecimal(10,2) 积分抵扣金额
use_mall_integralint所使用积分
fh_timedatetime发货地间
cj_timedatetime成交时间


备注

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