### 获取抢票订单信息
>[success] 字段状态描述
>---
>* pay_state (0未支付,1已支付 )
>* cancel_state ( 0未取消,1处理中,2已取消 )
>* outer_state ( 0未出票,1出票中,2出票成功,3出票失败 )
>* refund_state ( 0未退款,1处理中,2退款中,3 都成功,4退票失败 )
>* status ( 1 新订单,处理中,2 出票成功,3出票失败或取消 )
~~~[api]
post:data/order/get
*string:openid=o522P4l-DkV6aeQviCHAuF6Xn7QA#小程序OPENID
*string:mid=1#会员ID
*string:orderno=15379531716173#订单号
*string:orderid=0#订单ID(orderno与orderid二选一)
<<<
success
{
"code": 1,
"info": "获取订单信息成功!",
"data": {
"id": 1,
"mid": 1,
"openid": "o522P4l-DkV6aeQviCHAuF6Xn7QA",
"orderno": "15379531716173",
"orderid": "JH153795317124568",
"ordernumber": "",
"type": 1,
"verify_state": 0,
"verify_at": "2018-09-26 17:13:49",
"outer_state": 3,
"outer_desc": "车票预订页,提交预订请求失败。",
"outer_at": null,
"cancel_state": 3,
"cancel_at": "2018-09-26 17:13:56",
"refund_state": 0,
"refund_no": "",
"refund_at": null,
"refund_desc": null,
"refund_price": "0.00",
"pay_state": 0,
"pay_no": "",
"pay_price": "0.00",
"pay_at": null,
"phone": "13126419195",
"train_date": "2018-10-18",
"start_time": "",
"arrive_time": "",
"runtime": null,
"finished_time": null,
"is_accept_standing": 1,
"choose_seats": "",
"from_station_code": "IZQ",
"from_station_name": "广州南",
"to_station_code": "ORQ",
"to_station_name": "顺德",
"checi": "C7647",
"users": "2:10:二等座",
"package_id": 0,
"package_price": "0.00",
"package_name": "",
"total_price": "10.00",
"status": 3,
"create_at": "2018-09-26 17:11:26",
"passengers": [
{
"id": 1,
"mid": 1,
"orderno": "15379531716173",
"passengerid": 1,
"passengersename": "夏俊杰",
"piaotype": "1",
"piaotypename": "成人票",
"passporttypeseid": "1",
"passporttypeseidname": "二代身份证",
"passportseno": "441283199207115370",
"price": "10.00",
"zwcode": "O",
"zwname": "二等座",
"status": 1,
"checi": "",
"seat": "",
"ticket_no": "",
"refund_state": 0,
"refund_price": "0.00",
"refund_desc": "",
"refund_no": "",
"refund_at": null,
"create_at": "2018-09-26 17:11:26"
}
]
}
}
<<<
error
{
"code": 0,
"info": "乘客类型不能为空!",
"data": []
}
~~~
- 【数据】获取火车站简码
- 【数据】小程序数据解密
- 【数据】查询余票数据
- 【数据】纬度,经度定位
- 【会员】发送注册短信验证码
- 【会员】通过短信会员登录及注册
- 【会员】获取会员信息
- 【会员】添加乘客记录信息
- 【会员】删除乘客记录信息
- 【会员】编辑乘客记录信息
- 【会员】获取乘客列表信息
- 【订单】订票提交订单信息
- 【订单】获取抢票套餐列表
- 【订单】获取会员订单列表
- 【订单】获取会员订单信息
- 【订单】实时订单状态查询
- 【订单】获取订单支付参数
- 【订单】客户端主动取消订单
- 【订单】乘客单个退票操作
- 【抢票】提交抢票订单
- 【抢票】获取抢票订单列表
- 【抢票】获取订单支付参数
- 【抢票】获取抢票订单信息
- 【抢票】取消抢票订单
- 【加油】订单升级加油包套餐
- 【加油】获取加油包订单支付
- 【加速】给好友助力加油
- 【加速】获取助力好友列表
- 【加速】获取订单主体信息