[TOC]
## bookTwo得到的参数
### 1、$train_order_bookone
```
array (
'order_type' => '0',
'order_self' => '3',
'train_type' => 'G',
'train_type_name' => '高铁动车',
'train_code' => 'G7033',
'start_time' => '08:16',
'arrive_time' => '08:22',
'to_station_name' => '上海',
'from_station_name' => '上海西',
'start_station_name' => '常州',
'end_station_name' => '上海',
'run_time_minute' => '6',
'train_seat_type' => '二等座',
'train_ticket_price' => '8.5',
'train_start_time' => '2018-01-10 08:16',
'policy_execute' =>
array (
'policy_id' => '7',
'policy_name' => '主管级1',
'booking_scope' =>
array (
0 => '1',
1 => '2',
2 => '3',
3 => '4',
4 => '5',
),
'is_need_flt_rc' => '1',
'is_need_hotel_rc' => '1',
'is_need_train_rc' => '1',
'flight_policy' =>
array (
'isNeedLfRC' => '1',
'preMinute' => '',
'fltPreBookRC' => '1',
'fltPreBookDays' => '20',
'fltDiscountRC' => '1',
'fltDiscount' => '3',
'isFltBooking' => '1',
),
'hotel_policy' =>
array (
'oneMaxAmount' => '1',
'twoMaxAmount' => '2',
'OtherMaxAmount' => '3',
'isHotelBooking' => '1',
),
'train_policy' =>
array (
'gSeatType' =>
array (
2 => '3',
3 => '4',
),
'dSeatType' =>
array (
2 => '7',
3 => '8',
4 => '9',
),
'oSeatType' =>
array (
2 => '12',
3 => '13',
4 => '14',
5 => '15',
),
'isTrainBooking' => '0',
),
'flight_insurance' => '1',
'company_id' => '23',
'trip_allowance' => '0',
'allowance_rule' => '0',
'policyStr' =>
array (
'flight' => '提前20天预订 3折及以下航班, 允许买保险,允许违规预定',
'hotel' => '一级城市:1元/间夜 二级城市:2元/间夜 允许违规预定',
'train' => '高铁:一等座 二等座 ,动车:一等座 二等座 软卧 ,其他:硬卧 软座 硬座 无座 ,允许违规预定',
'int_flight' => '可以提交需求单',
'trade_car' => '不在预定范围之内',
),
'execResult' =>
array (
'policyId' => '7',
'is_violation' => 'false',
'check_msg' => '预定完全合规',
),
),
'book_user_id' => 80,
'train_start_date' => '2018-01-10',
'train_end_time' => '2018-01-10 00:06',
'train_users_staff_ids' => '80',
'train_users_no_staff_ids' => '57',
'train_users' => '杨红伟,杨颜硕',
'train_users_ids' => '80,57',
'train_user_count' => 2,
'train_ticket_number' => 2,
'order_total_price' => 17,
'consignee' => '杨红伟',
'consignee_mobile' => '18903467858',
'trip_cause' => '商务谈判',
'memo1' => '备注1',
'memo2' => '备注2',
'memo3' => '备注3',
'cost_center_id' => '37',
)
```
### 2、$train_order_session
```
array (
'consignee' => '杨红伟',
'consignee_mobile' => '18903467858',
'trip_cause' => '商务谈判',
'memo1' => '备注1',
'memo2' => '备注2',
'memo3' => '备注3',
)
```
- 回调操作
- 测试post请求
- 一:提交订单回调
- 二:请求出票回调
- 三:退票回调
- 火车票全部接口
- 1.站点简码查询
- 2.余票查询
- 3.提交订单(占座)
- 4.请求出票
- 5.订单状态查询
- 6.线上退票
- 7.历史订单查询
- 8.下载csv格式报表
- 9.取消待支付的订单
- 10.设置回调
- 11.查询账户余额
- 整理车票API
- 火车票简码采集
- 火车票相关
- 火车票相关截图
- 火车票车型
- 火车票订单
- 座位类型
- 火车票11个接口封装后
- 票的状态
- 聚合联系方式
- response不支持行内式写法
- 火车票登录接口信息
- 火车票回调
- 火车票订票接口常见问题
- 退票手续费
- 退票返回的信息
- 相关知识
- javascript 日期相减 涉及到时分秒
- 火车票订单流程
- 火车票提交
- 因公一些权限
- 工具
- 箭头
- 执行标准和政策详情
- 执行情况
- 成本中心
- miyou当前用户及政策相关信息
- 审批信息弹出
- 人员ID姓名与政策ID
- 费用
- 流程
- bookOne
- bookTwo
- booOnePost
- 旧的成本中心
- 成本中心联动
- 注意事项
- 提交返回的数据 train_all
- 选座
- 易购火车票
- 签约