简要描述:

  • 开品实验室--开品列表

请求域名:

  • http://xx.com

请求URL:

POST/plugin.event-registration.api.order.order.index

参数:

参数名 是否必须 类型 说明
status int 0 未付款,3已完成,-1已取消
student_keyword string 学员名称或手机号

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 88879,
                "order_sn": "SN2407051000564035",
                "status": 0,
                "price": "786.00",
                "goods": {
                    "title": "赛事活动1",
                    "end_time": "2025-07-01",
                    "thumb_link": "http://www.shop777.com/static/upload/images/1/2024/07/6b73bd22ee2b3095db22ca159bcef461.jpg"
                },
				"relation_name": "wwww",
                "dispatch_type_name": "",
                "status_name": "待付款",
                "pay_type_name": "未支付",
                "button_models": [
                    {
                        "name": "支付",
                        "value": 1,
                        "api": "order.operation.pay",
                        "type": ""
                    },
                    {
                        "name": "取消订单",
                        "value": 9,
                        "api": "order.operation.close",
                        "type": ""
                    },
                    {
                        "name": "参赛信息",
                        "value": "apply_msg",
                        "api": "plugin.event-registration.api.order.order.apply-msg",
                        "type": ""
                    }
                ],
                "process": [],
                "has_one_pay_type": null
            }
        ],
        "next_page_url": null,
        "path": "http://www.shop777.com/addons/yun_shop/api.php",
        "per_page": 20,
        "prev_page_url": null,
        "to": 7,
        "total": 7
    }
}

错误时返回:


返回参数说明:

参数名 类型 说明
id int 订单id
order_sn string 订单编号
price string 实付金额
status_name string 状态名称
status int 0 未付款,3已完成,-1已取消
relation_name string 学生姓名
goods obj 商品对象
goods.title string 商品名称
goods.end_time string 截至日期
goods.thumb_link string 图片
button_models array 按钮数组

备注:

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