教程订单-列表

接口地址:/console/orderlist

请求方式 get

参数:

  • begin_time 时间起点(可选)

  • end_time 时间终点(可选)

  • phone 手机号(可选)

  • nickname 昵称(可选)

  • order_sn 订单编号(可选)

  • tutorial_sn 教程编号(可选)

  • order_status 订单状态(可选) 0-待付款, 1-已付款, 2-已关闭

  • page 分页页码 (首次不传或传0)(可选)

返回格式:

{
    "code": 1,
    "data": {
        "order_list":[
            {
                "id": 1,
                "order_sn": "23989231 #订单编号",
                "price": 20.0,
                "title":"置物架",
                "tutorial_sn": "22983 #课程编号",
                "order_time":"2018-09-29 15:28:00",
                "user_name":"十年",
                "user_phone":"13855669988",
                "note":"备注",
                "pay_amount": 20.0,
                "status":"1 #订单状态 0-待付款, 1-已付款, 2-已关闭"
            },
            {
                "id": 2,
                "order_sn": "23989231 #订单编号",
                "price": 20.0,
                "title":"置物架",
                "tutorial_sn": "22983 #课程编号",
                "order_time":"2018-09-29 15:28:00",
                "user_name":"十年",
                "user_phone":"13855669988",
                "note":"备注",
                "pay_amount": 20.0,
                "status":"1 #订单状态 0-待付款, 1-已付款, 2-已关闭"
            }
        ],
        "page": 1,
        "total_num": 120
    },
    "msg": "success"
}

Last updated

Was this helpful?