|
|
|
@ -213,7 +213,7 @@ class callback extends CI_Controller{
|
|
|
|
|
$find = array('车厢','号','上铺','中铺','下铺');
|
|
|
|
|
$replace = array('coach','',' upper',' middle',' lower');
|
|
|
|
|
$seatsinfo = str_replace($find,$replace,$ctrip_backdata->TrainOrderService->OrderInfo->TicketInfo->SeatNumber);
|
|
|
|
|
|
|
|
|
|
$seatsinfo = mb_substr($seatsinfo,0,mb_strlen($seatsinfo,'UTF8')-1);
|
|
|
|
|
$seatsinfo_arr = explode(',',$seatsinfo);
|
|
|
|
|
|
|
|
|
|
foreach($seatsinfo_arr as $item){
|
|
|
|
|