简要描述:

  • 接口版本:

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

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
order_id int 订单id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
                "order_id": 1,
        "goods_order_num": "202007110940097797825832",
        "uid": 4,
        "paid_pay": "0.01",
        "deposit_price": "33300.00",
        "goods_pay_price": "33300.00",
        "goods_img": "https://unionshop.union-home.cn/uploads/banner/2020-07-06/5f032dd474753.jpg",
        "goods_title": "KLD28BDF-6F",
        "goods_json": {
            "kwobjsize": {
                "title": "28孔基础款调料台",
                "value": "¥20800"
            },
            "gtcolor": {
                "title": "柜体颜色",
                "value": "咖啡青"
            },
            "syscolor": {
                "title": "石英石颜色",
                "value": "灰姑娘"
            },
            "num": {
                "title": "调料盅款式",
                "value": {
                    "a_num": {
                        "title": "A款数量",
                        "value": 3
                    },
                    "b_num": {
                        "title": "B款数量",
                        "value": 1
                    },
                    "c_num": {
                        "title": "C款数量",
                        "value": 1
                    },
                    "d_num": {
                        "title": "D款数量",
                        "value": 2
                    }
                }
            },
            "chengtitle": {
                "title": "层架选择",
                "value": "不锈钢架层"
            },
            "dgtitle": {
                "title": "碗碟仓灯光",
                "value": "科技蓝"
            },
            "fruidtitle": {
                "title": "冷藏冰鲜水果台",
                "fruitsvalue": "数量(6)",
                "fruidprice": "总价¥4500"
            },
            "ozoneprice": {
                "title": "高温臭氧消毒",
                "value": "¥3500"
            },
            "iceboxprice": {
                "title": "嵌入式冷藏冰箱",
                "value": "¥2000"
            },
            "keepwarmprice": {
                "title": "立式保温粥台",
                "value": "¥2000"
            },
            "superaudibleprice": {
                "title": "超声波驱蚊",
                "value": "¥500"
            },
            "allprice": {
                "title": "合计",
                "value": "¥33300"
            }
        },
        "goods_form": {
            "accounttype": "公司",
            "username": "高海龙",
            "conpanyname": "深圳联盟之都",
            "userphone": "15768868260",
            "wechatnum": "gaohail",
            "emailnum": "1482418657@qq.com"
        },
        "goods_address": {
            "Addressname": "高海龙",
            "region": "广东省深圳市龙岗区",
            "address": "爱南路366号启正源商务中心701室",
            "phone": "15768868260"
        },
        "pay_method": "WeChat",
        "order_remark": "",
        "cancel_remark": "",
        "create_at": "2020-07-11 09:40:09",
        "pay_at": "1594432311",
        "closing_at": "",
        "pay_order_num": "4200000598202006234238986268",
        "exp_time": 0,
        "order_status": 7"show_save_img_btn": false,
    },
    "other": []
}

错误时返回:

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

list返回参数说明:

参数名 类型 说明
order_id int 订单id
goods_order_num int 订单号
uid int 用户id
paid_pay string 已支付的金额
deposit_price string 定金
goods_pay_price string 订单总价格
goods_img string
goods_title string
goods_json string
goods_form string
goods_address string
pay_method string 支付方式 【WeChat=微信 Alipay=支付宝】
order_remark string 订单备注
cancel_remark string 取消备注
create_at string 下单时间
pay_at string 支付时间
closing_at string 下单关闭时间
pay_order_num string 支付订单号
exp_time string 过期时间【单位秒】
order_status int 订单状态【order_status 0=待支付 1=支付成功 2=支付失败 3=订单取消 4=退款中 5=已退款
6=已发货 7=未发货 8=已收货 9=未收货 10=已评价 11=未评价】
show_save_img_btn string 保存图片显示状态 【true=显示 false=不显示】

备注:

文档更新时间: 2020-08-21 16:50   作者:admin