简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-07-11

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string token参数

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数
pay_status int 订单状态【0=待支付 1=支付成功 2=支付失败 3=订单取消 4=退款中 5=已退款 】

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "order_id": 4,
                "uid": 4,
                "goods_order_num": "202007110952411918068733",
                "paid_pay": "0.00",
                "deposit_price": "33300.00",
                "goods_pay_price": "33300.00",
                "goods_img": "https://unionshop.union-home.cn/5f032dd474753.jpg",
                "goods_title": "KLD28BDF-6F",
                "pay_method": "WeChat",
                "order_date": "2020-07-11",
                "order_status": 0
            },
        ],
        "page": 1,
        "pagesize": 1,
        "total": 3
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "token过期",
    "data": []
}

list返回参数说明:

参数名 类型 说明
order_id int 订单id
uid int 用户id
goods_order_num int 订单号
paid_pay string 支付价格
deposit_price string 定金
goods_pay_price string 订单总价格
goods_img string 订单图片
goods_title string 商品标题
pay_method string 支付方式 【WeChat=微信 Alipay=支付宝】
order_date string 订单时间
order_status int 订单状态【order_status 0=待支付 1=支付成功 2=支付失败 3=订单取消 4=退款中 5=已退款6=已发货 7=未发货 8=已收货 9=未收货 10=已评价 11=未评价】

备注:

  • order_status=0 取消按钮,立即支付,详情按钮
  • order_status=1 退款按钮,详情按钮
  • order_status=2 删除按钮,详情按钮
  • order_status=3 删除按钮,详情按钮
  • order_status=4 详情按钮
  • order_status=5 删除按钮,详情按钮
  • order_status=6 查看物流,详情按钮
  • order_status=7 退款按钮,详情按钮
  • order_status=8 查看物流,详情按钮,确认收货
  • order_status=9 查看物流,详情按钮
  • order_status=10 查看物流,详情按钮
  • order_status=11 查看物流,详情按钮,评价按钮
文档更新时间: 2020-07-11 10:16   作者:admin